fix: use built-in appkit empty view styles entry and remove hack to apply colors to the empty view texts
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
<item name="android:textColor">?colorM3OnSurface</item>
|
||||
<item name="android:textColorPrimary">?colorM3OnSurface</item>
|
||||
<item name="android:textColorSecondary">?colorM3OnSurfaceVariant</item>
|
||||
<item name="appkitEmptyTextAppearance">@style/empty_text</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Mastodon.Dark" parent="Theme.AppKit">
|
||||
@@ -86,6 +87,7 @@
|
||||
<item name="android:textColor">?colorM3OnSurface</item>
|
||||
<item name="android:textColorPrimary">?colorM3OnSurface</item>
|
||||
<item name="android:textColorSecondary">?colorM3OnSurfaceVariant</item>
|
||||
<item name="appkitEmptyTextAppearance">@style/empty_text</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Mastodon.Dark.SplashFragment">
|
||||
@@ -383,4 +385,8 @@
|
||||
<style name="window_fade_out">
|
||||
<item name="android:windowExitAnimation">@anim/fade_out_fast</item>
|
||||
</style>
|
||||
|
||||
<style name="empty_text" parent="m3_body_large">
|
||||
<item name="android:textColor">?colorM3OnSurfaceVariant</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user