From de17b6de0136b653d1505130cd36a734ef1e2bc2 Mon Sep 17 00:00:00 2001 From: X1nto Date: Sun, 24 May 2020 12:18:38 +0400 Subject: [PATCH] some changes to ThemedActivity --- .../main/java/com/vanced/manager/ui/core/ThemedActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/vanced/manager/ui/core/ThemedActivity.kt b/app/src/main/java/com/vanced/manager/ui/core/ThemedActivity.kt index e4db2dd7..3d3a0d76 100644 --- a/app/src/main/java/com/vanced/manager/ui/core/ThemedActivity.kt +++ b/app/src/main/java/com/vanced/manager/ui/core/ThemedActivity.kt @@ -67,8 +67,8 @@ open class ThemedActivity : AppCompatActivity() { } else -> { when (resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK) { - Configuration.UI_MODE_NIGHT_YES -> setDarkAccent(currentAccent) - Configuration.UI_MODE_NIGHT_NO -> setLightAccent(currentAccent) + Configuration.UI_MODE_NIGHT_YES -> setDarkAccent("Blue") + Configuration.UI_MODE_NIGHT_NO -> setLightAccent("Blue") } } }