Skip to content

Commit

Permalink
Fix #1245
Browse files Browse the repository at this point in the history
Tlaster committed Apr 21, 2020
1 parent d71c9d2 commit 4842388
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions twidere/src/main/res/values/themes_base_dark.xml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@

<resources>

<style name="Theme.Twidere.Dark" parent="Theme.MaterialComponents">
<style name="Theme.Twidere.Dark" parent="Theme.MaterialComponents.Bridge">

<!-- Widget styles -->
<item name="android:listSeparatorTextViewStyle">@style/Widget.Dark.TextView.ListSeparator
@@ -47,7 +47,7 @@

<style name="Theme.Twidere.Dark.Content" parent="Theme.Twidere.Dark"/>

<style name="Theme.Twidere.Dark.Dialog" parent="Theme.MaterialComponents.Dialog">
<style name="Theme.Twidere.Dark.Dialog" parent="Theme.MaterialComponents.Dialog.Bridge">

<!-- this is a simple fix for https://github.com/TwidereProject/Twidere-Android/issues/579 -->
<item name="android:windowBackground">@drawable/abc_dialog_material_background_dark</item>
4 changes: 2 additions & 2 deletions twidere/src/main/res/values/themes_base_light.xml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@

<resources>

<style name="Theme.Twidere.Light" parent="Theme.MaterialComponents.Light">
<style name="Theme.Twidere.Light" parent="Theme.MaterialComponents.Light.Bridge">

<!-- Widget styles -->
<item name="android:listSeparatorTextViewStyle">@style/Widget.Light.TextView.ListSeparator
@@ -51,7 +51,7 @@

<style name="Theme.Twidere.Light.Content" parent="Theme.Twidere.Light"/>

<style name="Theme.Twidere.Light.Dialog" parent="Theme.MaterialComponents.Light.Dialog">
<style name="Theme.Twidere.Light.Dialog" parent="Theme.MaterialComponents.Light.Dialog.Bridge">

<!-- Widget styles -->
<item name="android:listSeparatorTextViewStyle">@style/Widget.Light.TextView.ListSeparator

0 comments on commit 4842388

Please sign in to comment.