mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 13:05:47 +00:00
fix(input): refresh layout toggle after profile reset
This commit is contained in:
1 parent
8a01432313
commit
4fea462223
1 file changed
+1
@@ -893,6 +893,7 @@ internal fun GameSettingsMenus(host: MenuHost, game: com.droiddeck.launcher.fron
|
||||
save {
|
||||
val failure = runCatching { com.droiddeck.launcher.session.GameProfileManager.reset(it, scope) }.exceptionOrNull()
|
||||
com.droiddeck.launcher.stores.StoresState.post {
|
||||
if (failure == null) nintendo = false
|
||||
android.widget.Toast.makeText(
|
||||
it,
|
||||
if (failure == null) resetDone else it.getString(R.string.comp_game_reset_failed, failure.message.orEmpty()),
|
||||
|
||||
Reference in new issue
Block a user