[android,addons] per-game screen ext content unmount upon rotation hotfix

This commit is contained in:
xbzk 2026-03-27 09:53:22 -03:00 committed by crueter
parent 16e7e034d7
commit 6291ab31e1

View file

@ -133,8 +133,11 @@ class GamePropertiesFragment : Fragment() {
}
override fun onDestroy() {
val isChangingConfigurations = activity?.isChangingConfigurations == true
super.onDestroy()
gamesViewModel.reloadGames(true)
if (!isChangingConfigurations) {
gamesViewModel.reloadGames(true)
}
}
private fun getPlayTime() {