aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res/values/tv_styles.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-03-30 13:40:05 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-30 13:40:05 +0200
commitb734f44200c40fb630fbc566dd245693145f93ec (patch)
tree1cca8dea966bf271aa14fa15b485293292bfe02e /ui/src/main/res/values/tv_styles.xml
parentversion: bump (diff)
downloadwireguard-android-b734f44200c40fb630fbc566dd245693145f93ec.tar.xz
wireguard-android-b734f44200c40fb630fbc566dd245693145f93ec.zip
ui: use M3 theme for TV to prevent crash
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui/src/main/res/values/tv_styles.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/main/res/values/tv_styles.xml b/ui/src/main/res/values/tv_styles.xml
index 1d06b618..07565a72 100644
--- a/ui/src/main/res/values/tv_styles.xml
+++ b/ui/src/main/res/values/tv_styles.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
- <style name="TvTheme" parent="Theme.MaterialComponents.NoActionBar">
+ <style name="TvTheme" parent="Theme.Material3.DayNight.NoActionBar">
<item name="colorPrimary">@color/tv_primary_color</item>
<item name="colorOnPrimary">#fffafafa</item>
<item name="colorPrimaryDark">@color/tv_primary_color</item>
@@ -20,7 +20,7 @@
<item name="materialCardViewStyle">@style/TvTheme.MaterialCardView</item>
</style>
- <style name="TvTheme.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
+ <style name="TvTheme.Dialog" parent="Theme.Material3.DayNight.Dialog.Alert">
<item name="android:windowBackground">?attr/colorSurface</item>
</style>