android: Disable editing themes during emulation

master
Charles Lombardo 2023-04-23 19:41:54 +07:00 committed by bunnei
parent 62c47011a0
commit cfa3d73f2f
1 changed files with 3 additions and 3 deletions

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