Merge pull request #1332 from alexbakker/fix-1330

Use DayNight as the default theme
This commit is contained in:
Michael Schättgen 2024-03-25 20:33:16 +01:00 committed by GitHub
commit 8e9a1bda92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -27,6 +27,7 @@
android:icon="@mipmap/${iconName}"
android:label="Aegis"
android:supportsRtl="true"
android:theme="@style/Theme.Aegis.Launch"
tools:targetApi="tiramisu">
<activity android:name=".ui.TransferEntriesActivity"
android:label="@string/title_activity_transfer" />

View file

@ -1,4 +1,11 @@
<resources>
<style name="Theme.Aegis.Launch" parent="Theme.Material3.DayNight.NoActionBar">
<!-- colorPrimary in the root theme sets the task description color (seen in task switcher) -->
<item name="colorPrimary">@color/md_theme_light_primary</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
<style name="Base.Theme.Aegis.Light" parent="Theme.Material3.Light">
<!-- Material colors -->
<item name="colorPrimary">@color/md_theme_light_primary</item>