Aperture: Use ?attr/isLightTheme for light status bar
Change-Id: I30e1b54b6d1548a3b49c62e2b6a86665d6be0e58
diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml
deleted file mode 100644
index bba981d..0000000
--- a/app/src/main/res/values-night/themes.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- SPDX-FileCopyrightText: 2023 The LineageOS Project
- SPDX-License-Identifier: Apache-2.0
--->
-<resources xmlns:tools="http://schemas.android.com/tools">
- <!-- Settings activity theme. -->
- <style name="Theme.Aperture.Settings" parent="Theme.Aperture.Settings.Base">
- <item name="android:windowLightStatusBar">false</item>
- </style>
-</resources>
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index bfb4f95..5fbb5fe 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -23,19 +23,16 @@
</style>
<!-- Settings activity theme. -->
- <style name="Theme.Aperture.Settings.Base" parent="Theme.Aperture">
+ <style name="Theme.Aperture.Settings" parent="Theme.Aperture">
<item name="android:switchStyle">@style/Theme.Aperture.Settings.Switch</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
+ <item name="android:windowLightStatusBar">?attr/isLightTheme</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="alertDialogTheme">@style/Theme.Aperture.Settings.AlertDialog</item>
<item name="materialAlertDialogTheme">@style/Theme.Aperture.Settings.AlertDialog</item>
</style>
- <style name="Theme.Aperture.Settings" parent="Theme.Aperture.Settings.Base">
- <item name="android:windowLightStatusBar">true</item>
- </style>
-
<!-- Settings alert dialog theme. -->
<style name="Theme.Aperture.Settings.AlertDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
<item name="alertDialogStyle">@style/Theme.Aperture.Settings.AlertDialogStyle</item>