summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 775f4ed9e..7b8d7c5a3 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
@@ -99,6 +99,9 @@ class PlatformGamesFragment : Fragment(), PlatformGamesView {
99 } 99 }
100 100
101 private fun updateTextView() { 101 private fun updateTextView() {
102 if (_binding == null)
103 return
104
102 binding.gamelistEmptyText.visibility = 105 binding.gamelistEmptyText.visibility =
103 if (adapter!!.itemCount == 0) View.VISIBLE else View.GONE 106 if (adapter!!.itemCount == 0) View.VISIBLE else View.GONE
104 } 107 }