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

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()
}