|
|
@ -71,6 +71,7 @@ class App : Application() { |
|
|
|
fun applyTheme() { |
|
|
|
fun applyTheme() { |
|
|
|
if (AppConfig.isNightTheme) { |
|
|
|
if (AppConfig.isNightTheme) { |
|
|
|
ThemeStore.editTheme(this) |
|
|
|
ThemeStore.editTheme(this) |
|
|
|
|
|
|
|
.coloredNavigationBar(true) |
|
|
|
.primaryColor( |
|
|
|
.primaryColor( |
|
|
|
getPrefInt(PreferKey.cNPrimary, getCompatColor(R.color.md_blue_grey_600)) |
|
|
|
getPrefInt(PreferKey.cNPrimary, getCompatColor(R.color.md_blue_grey_600)) |
|
|
|
).accentColor( |
|
|
|
).accentColor( |
|
|
@ -82,6 +83,7 @@ class App : Application() { |
|
|
|
).apply() |
|
|
|
).apply() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
ThemeStore.editTheme(this) |
|
|
|
ThemeStore.editTheme(this) |
|
|
|
|
|
|
|
.coloredNavigationBar(true) |
|
|
|
.primaryColor( |
|
|
|
.primaryColor( |
|
|
|
getPrefInt(PreferKey.cPrimary, getCompatColor(R.color.md_indigo_800)) |
|
|
|
getPrefInt(PreferKey.cPrimary, getCompatColor(R.color.md_indigo_800)) |
|
|
|
).accentColor( |
|
|
|
).accentColor( |
|
|
|