Add AlertDialog styles to Reader themes (#5426)

(cherry picked from commit 848d387ec48bd087e77ef729f7374e1bc14dab29)
This commit is contained in:
Hunter Nickel 2021-06-19 10:34:23 -06:00 committed by Jobobby04
parent 9e38b5231c
commit ed78bca33e

View File

@ -466,6 +466,7 @@
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
<item name="android:alertDialogTheme">@style/Theme.AlertDialog.Light</item>
</style>
<!--== Light Reader ==-->
@ -489,6 +490,7 @@
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
<item name="android:alertDialogTheme">@style/Theme.AlertDialog.Amoled</item>
</style>
<!--== Dark Reader ==-->
@ -501,6 +503,10 @@
<!-- Base background/text colors -->
<item name="android:colorBackground">@color/backgroundDark</item>
<!-- Alert Dialog -->
<item name="android:alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
</style>
<!--===============-->