Skip to content

Commit

Permalink
Migrate to AppCompat's DayNight theme
Browse files Browse the repository at this point in the history
Dark mode is already supported on the Jetpack Compose theme, might as well change the Android theme.

Theme.AppCompat.Light.NoActionBar -> Theme.AppCompat.DayNight.NoActionBar
  • Loading branch information
MateusRodCosta committed Sep 12, 2024
1 parent f005614 commit f819fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.App" parent="Theme.AppCompat.Light.NoActionBar">
<style name="Theme.App" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">false</item>
Expand Down

0 comments on commit f819fcd

Please sign in to comment.