diff --git a/app/src/main/java/gallery/memories/MainActivity.kt b/app/src/main/java/gallery/memories/MainActivity.kt index 427e4183..4d3b13e8 100644 --- a/app/src/main/java/gallery/memories/MainActivity.kt +++ b/app/src/main/java/gallery/memories/MainActivity.kt @@ -303,8 +303,7 @@ class MainActivity : AppCompatActivity() { fun applyTheme(color: String?, isDark: Boolean) { if (color == null) return - // Set dark mode - setTheme(if (isDark) android.R.style.Theme_Black else android.R.style.Theme_Light) + // Set system bars if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { val appearance = WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS or WindowInsetsController.APPEARANCE_LIGHT_NAVIGATION_BARS diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index abb82cfb..b10c0df9 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,6 +1,6 @@ -