yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

android: Disable editing themes during emulation

This commit is contained in:
Charles Lombardo 2023-04-23 19:41:54 -04:00 committed by bunnei
parent 62c47011a0
commit cfa3d73f2f
1 changed files with 3 additions and 3 deletions

View File

@ -331,7 +331,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
override val key: String? = null
override val section: String? = null
override val isRuntimeEditable: Boolean = true
override val isRuntimeEditable: Boolean = false
override val valueAsString: String
get() = preferences.getInt(Settings.PREF_THEME, 0).toString()
}
@ -367,7 +367,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
override val key: String? = null
override val section: String? = null
override val isRuntimeEditable: Boolean = true
override val isRuntimeEditable: Boolean = false
override val valueAsString: String
get() = preferences.getInt(Settings.PREF_THEME_MODE, -1).toString()
}
@ -391,7 +391,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
override val key: String? = null
override val section: String? = null
override val isRuntimeEditable: Boolean = true
override val isRuntimeEditable: Boolean = false
override val valueAsString: String
get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false).toString()
}