Skip to content

Commit 1a1b976

Browse files
committed
BottomAppBar variants: inherit base style explicitly (CR)
Give the modern themes' Widget.SagerNet.BottomAppBar.* variants an explicit parent=Widget.SagerNet.BottomAppBar so they keep the shared cradle/alignment/elevation config and only override backgroundTint, rather than relying on implicit dotted-name inheritance.
1 parent 1386524 commit 1a1b976

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,23 +251,23 @@
251251

252252
<!-- Dark High Contrast bottom bar: black surface (not the green primary) so the
253253
green/blue/red status text reads against it, matching the OLED design. -->
254-
<style name="Widget.SagerNet.BottomAppBar.DarkHighContrast">
254+
<style name="Widget.SagerNet.BottomAppBar.DarkHighContrast" parent="Widget.SagerNet.BottomAppBar">
255255
<item name="backgroundTint">?attr/colorSurface</item>
256256
</style>
257257

258-
<style name="Widget.SagerNet.BottomAppBar.DraculaM3">
258+
<style name="Widget.SagerNet.BottomAppBar.DraculaM3" parent="Widget.SagerNet.BottomAppBar">
259259
<item name="backgroundTint">?attr/colorSurface</item>
260260
</style>
261-
<style name="Widget.SagerNet.BottomAppBar.Nord">
261+
<style name="Widget.SagerNet.BottomAppBar.Nord" parent="Widget.SagerNet.BottomAppBar">
262262
<item name="backgroundTint">?attr/colorSurface</item>
263263
</style>
264-
<style name="Widget.SagerNet.BottomAppBar.Monokai">
264+
<style name="Widget.SagerNet.BottomAppBar.Monokai" parent="Widget.SagerNet.BottomAppBar">
265265
<item name="backgroundTint">?attr/colorSurface</item>
266266
</style>
267-
<style name="Widget.SagerNet.BottomAppBar.Ayu">
267+
<style name="Widget.SagerNet.BottomAppBar.Ayu" parent="Widget.SagerNet.BottomAppBar">
268268
<item name="backgroundTint">?attr/colorSurface</item>
269269
</style>
270-
<style name="Widget.SagerNet.BottomAppBar.Catppuccin">
270+
<style name="Widget.SagerNet.BottomAppBar.Catppuccin" parent="Widget.SagerNet.BottomAppBar">
271271
<item name="backgroundTint">?attr/colorSurface</item>
272272
</style>
273273

0 commit comments

Comments
 (0)