diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-23 13:54:16 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:47 +0200 |
commit | 9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6 (patch) | |
tree | 6d2be8919a3054444fa67f98d052dae9d8fa94ed /src/android/app | |
parent | android: Persist settings across configuration changes (diff) | |
download | yuzu-9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6.tar yuzu-9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6.tar.gz yuzu-9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6.tar.bz2 yuzu-9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6.tar.lz yuzu-9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6.tar.xz yuzu-9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6.tar.zst yuzu-9cb7e7072d2d2ce3e1e3e19fe086739acdefa8f6.zip |
Diffstat (limited to 'src/android/app')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/platform/PlatformGamesFragment.kt | 3 |
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 { } private fun updateTextView() { + if (_binding == null) + return + binding.gamelistEmptyText.visibility = if (adapter!!.itemCount == 0) View.VISIBLE else View.GONE } |