use @color/black instead of #000

to avoid crash when getting null resource ID
This commit is contained in:
sk 2022-11-19 20:38:01 +01:00
parent 0bb85d71e4
commit 505b755df6
1 changed files with 8 additions and 8 deletions

View File

@ -93,14 +93,14 @@
</style> </style>
<style name="Theme.Mastodon.Dark.TrueBlack"> <style name="Theme.Mastodon.Dark.TrueBlack">
<item name="android:navigationBarColor">#000</item> <item name="android:navigationBarColor">@color/black</item>
<item name="android:colorBackground">#000</item> <item name="android:colorBackground">@color/black</item>
<item name="android:statusBarColor">#000</item> <item name="android:statusBarColor">@color/black</item>
<item name="android:actionBarTheme">@style/Theme.Mastodon.Toolbar.Dark.TrueBlack</item> <item name="android:actionBarTheme">@style/Theme.Mastodon.Toolbar.Dark.TrueBlack</item>
<item name="colorBackgroundLight">#000</item> <item name="colorBackgroundLight">@color/black</item>
<item name="colorBackgroundLightest">#000</item> <item name="colorBackgroundLightest">@color/black</item>
<item name="colorWindowBackground">#000</item> <item name="colorWindowBackground">@color/black</item>
<item name="colorButtonText">#000</item> <item name="colorButtonText">@color/black</item>
<item name="colorPollVoted">@color/gray_800</item> <item name="colorPollVoted">@color/gray_800</item>
</style> </style>
@ -120,7 +120,7 @@
</style> </style>
<style name="Theme.Mastodon.Toolbar.Dark.TrueBlack" parent="android:ThemeOverlay.Material.Dark.ActionBar"> <style name="Theme.Mastodon.Toolbar.Dark.TrueBlack" parent="android:ThemeOverlay.Material.Dark.ActionBar">
<item name="android:colorPrimary">#000</item> <item name="android:colorPrimary">@color/black</item>
</style> </style>
<style name="Theme.Mastodon.Toolbar.Profile"> <style name="Theme.Mastodon.Toolbar.Profile">