fix values for theme switching
This commit is contained in:
parent
0766e0eb52
commit
dbf1ff5ddd
1 changed files with 5 additions and 0 deletions
|
@ -224,6 +224,11 @@ class MainApp : DaggerApplication() {
|
||||||
sp.putBoolean(info.nightscout.plugins.sync.R.string.key_ns_log_app_started_event, config.APS)
|
sp.putBoolean(info.nightscout.plugins.sync.R.string.key_ns_log_app_started_event, config.APS)
|
||||||
if (sp.getString(info.nightscout.configuration.R.string.key_maintenance_logs_email, "") == "logs@androidaps.org")
|
if (sp.getString(info.nightscout.configuration.R.string.key_maintenance_logs_email, "") == "logs@androidaps.org")
|
||||||
sp.putString(info.nightscout.configuration.R.string.key_maintenance_logs_email, "logs@aaps.app")
|
sp.putString(info.nightscout.configuration.R.string.key_maintenance_logs_email, "logs@aaps.app")
|
||||||
|
// fix values for theme switching
|
||||||
|
sp.putString(info.nightscout.plugins.R.string.value_dark_theme, "dark")
|
||||||
|
sp.putString(info.nightscout.plugins.R.string.value_light_theme, "light")
|
||||||
|
sp.putString(info.nightscout.plugins.R.string.value_system_theme, "system")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun applicationInjector(): AndroidInjector<out DaggerApplication> {
|
override fun applicationInjector(): AndroidInjector<out DaggerApplication> {
|
||||||
|
|
Loading…
Reference in a new issue