summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-03-24 17:33:05 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-24 14:12:21 +0100
commit9dab67f3f143656a265ee1fb634a11b1c1eee53c (patch)
treeae5bd10eadb1587ed3ce986c89c924ff0feb6e3b /ui/src/main/res
parente342c9a28ffd147a9b1de5410767d660acd04570 (diff)
ui: fix inconsistent toolbar color
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res')
-rw-r--r--ui/src/main/res/values/styles.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/main/res/values/styles.xml b/ui/src/main/res/values/styles.xml
index 396f156c..e9a174cf 100644
--- a/ui/src/main/res/values/styles.xml
+++ b/ui/src/main/res/values/styles.xml
@@ -18,6 +18,11 @@
<item name="android:statusBarColor">@color/status_bar_color</item>
<item name="android:windowBackground">@color/primary_color</item>
<item name="materialCardViewStyle">@style/AppTheme.MaterialCardView</item>
+ <item name="toolbarStyle">@style/WireGuardTheme.Toolbar</item>
+ </style>
+
+ <style name="WireGuardTheme.Toolbar" parent="Widget.Material3.Toolbar">
+ <item name="android:background">?attr/colorBackground</item>
</style>
<style name="AppTheme" parent="WireGuardTheme" />