diff options
Diffstat (limited to '')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt index 759ff18fc..fb8c0fd32 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt @@ -140,6 +140,9 @@ class GamesFragment : Fragment() { // Make sure the loading indicator appears even if the layout is told to refresh before being fully drawn binding.swipeRefresh.post { + if (_binding == null) { + return@post + } binding.swipeRefresh.isRefreshing = gamesViewModel.isReloading.value!! } } |