summaryrefslogtreecommitdiff
path: root/src/android/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.kt
index 998a00847..dcfac1b2a 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.kt
@@ -75,6 +75,9 @@ class PlatformGamesFragment : Fragment(), PlatformGamesView {
75 } 75 }
76 76
77 override fun showGames(games: Cursor) { 77 override fun showGames(games: Cursor) {
78 if (_binding == null)
79 return
80
78 if (binding.gridGames.adapter != null) { 81 if (binding.gridGames.adapter != null) {
79 (binding.gridGames.adapter as GameAdapter).swapCursor(games) 82 (binding.gridGames.adapter as GameAdapter).swapCursor(games)
80 } 83 }