diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-29 01:41:51 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:47 +0200 |
commit | ec048361af158661be4e1c35db8ac94bad5c1014 (patch) | |
tree | a418a80db24d70179d7484174503fa586dfb34fa | |
parent | android: Re-implement overlay editing (diff) | |
download | yuzu-ec048361af158661be4e1c35db8ac94bad5c1014.tar yuzu-ec048361af158661be4e1c35db8ac94bad5c1014.tar.gz yuzu-ec048361af158661be4e1c35db8ac94bad5c1014.tar.bz2 yuzu-ec048361af158661be4e1c35db8ac94bad5c1014.tar.lz yuzu-ec048361af158661be4e1c35db8ac94bad5c1014.tar.xz yuzu-ec048361af158661be4e1c35db8ac94bad5c1014.tar.zst yuzu-ec048361af158661be4e1c35db8ac94bad5c1014.zip |
Diffstat (limited to '')
-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 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 { } override fun showGames(games: Cursor) { + if (_binding == null) + return + if (binding.gridGames.adapter != null) { (binding.gridGames.adapter as GameAdapter).swapCursor(games) } |