Add AlertDialog styles to Reader themes (#5426)

This commit is contained in:
Hunter Nickel 2021-06-19 10:34:23 -06:00 committed by GitHub
parent ac6b4235b9
commit 848d387ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>
<!--===============-->