Skip to content

Commit 0cfb167

Browse files
committed
fix: settings crash
1 parent bf855b7 commit 0cfb167

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
<activity
5656
android:name=".SettingsActivity"
5757
android:exported="false"
58-
android:label="@string/activity_settings" />
58+
android:label="@string/activity_settings"
59+
android:theme="@style/Theme.ActivityLauncher.NoActionBar" />
5960
</application>
6061

6162
</manifest>

app/src/main/res/values/themes.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@
33
<style name="Base.Theme.ActivityLauncher" parent="Theme.Material3.DynamicColors.DayNight">
44
<!-- Customize your light theme here. -->
55
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
6-
</style>
76

8-
<style name="Theme.ActivityLauncher" parent="Base.Theme.ActivityLauncher">
97
<item name="windowActionBar">false</item>
108
<item name="windowNoTitle">true</item>
119
</style>
1210

13-
<style name="Theme.ActivityLauncher.NoActionBar" parent="Base.Theme.ActivityLauncher">
14-
<item name="windowActionBar">false</item>
15-
<item name="windowNoTitle">true</item>
16-
</style>
11+
<style name="Theme.ActivityLauncher" parent="Base.Theme.ActivityLauncher" />
12+
13+
<style name="Theme.ActivityLauncher.NoActionBar" parent="Base.Theme.ActivityLauncher" />
1714

1815
<style name="Theme.ActivityLauncher.NoDisplay" parent="Theme.ActivityLauncher.NoActionBar">
1916
<item name="android:windowBackground">@null</item>

0 commit comments

Comments
 (0)