|
@@ -16,8 +16,8 @@ class MainActivity : AppCompatActivity() {
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
super.onCreate(savedInstanceState)
|
|
val isNight = !isNightTheme()
|
|
val isNight = !isNightTheme()
|
|
- ThemeSkinService.getInstance().switchThemeSkin(if (isNight) 1 else 0)
|
|
|
|
- setNightTheme(isNight)
|
|
|
|
|
|
+ ThemeSkinService.getInstance().switchThemeSkin(1)
|
|
|
|
+ setNightTheme(true)
|
|
if (MMkvUtils.getBool(FIRST_IN)) {
|
|
if (MMkvUtils.getBool(FIRST_IN)) {
|
|
navigateTo(Screens.Main.ENTRANCE_CHOSEN)
|
|
navigateTo(Screens.Main.ENTRANCE_CHOSEN)
|
|
} else {
|
|
} else {
|