android: Disable editing themes during emulation
This commit is contained in:
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 key: String? = null
|
||||||
override val section: String? = null
|
override val section: String? = null
|
||||||
override val isRuntimeEditable: Boolean = true
|
override val isRuntimeEditable: Boolean = false
|
||||||
override val valueAsString: String
|
override val valueAsString: String
|
||||||
get() = preferences.getInt(Settings.PREF_THEME, 0).toString()
|
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 key: String? = null
|
||||||
override val section: String? = null
|
override val section: String? = null
|
||||||
override val isRuntimeEditable: Boolean = true
|
override val isRuntimeEditable: Boolean = false
|
||||||
override val valueAsString: String
|
override val valueAsString: String
|
||||||
get() = preferences.getInt(Settings.PREF_THEME_MODE, -1).toString()
|
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 key: String? = null
|
||||||
override val section: String? = null
|
override val section: String? = null
|
||||||
override val isRuntimeEditable: Boolean = true
|
override val isRuntimeEditable: Boolean = false
|
||||||
override val valueAsString: String
|
override val valueAsString: String
|
||||||
get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false).toString()
|
get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false).toString()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue