Fix UI bug on alert dialogs

This commit is contained in:
Matéo Duparc 2022-03-07 12:30:42 +01:00
parent ed0b5eb483
commit 6d5fc465c7
Signed by untrusted user: hardcoresushi
GPG Key ID: AFE384344A45E13A

View File

@ -3,7 +3,7 @@
<style name="DarkGreenDialog" parent="Theme.AppCompat.Dialog.Alert"> <style name="DarkGreenDialog" parent="Theme.AppCompat.Dialog.Alert">
<item name="colorAccent">@color/secondary</item> <item name="colorAccent">@color/secondary</item>
<item name="android:background">@color/dialogDarkBackground</item> <item name="colorBackgroundFloating">@color/dialogDarkBackground</item>
</style> </style>
<style name="DarkRedDialog" parent="DarkGreenDialog"> <style name="DarkRedDialog" parent="DarkGreenDialog">
<item name="colorAccent">@color/red</item> <item name="colorAccent">@color/red</item>
@ -23,7 +23,7 @@
<style name="BlackGreenDialog" parent="Theme.AppCompat.Dialog.Alert"> <style name="BlackGreenDialog" parent="Theme.AppCompat.Dialog.Alert">
<item name="colorAccent">@color/secondary</item> <item name="colorAccent">@color/secondary</item>
<item name="android:background">#191919</item> <item name="colorBackgroundFloating">#191919</item>
</style> </style>
<style name="BlackRedDialog" parent="BlackGreenDialog"> <style name="BlackRedDialog" parent="BlackGreenDialog">
<item name="colorAccent">@color/red</item> <item name="colorAccent">@color/red</item>