mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Fix transparent navbar when bottom sheets are opened (fixes #3848)
This commit is contained in:
		| @@ -48,6 +48,17 @@ | ||||
|     </style> | ||||
|  | ||||
|  | ||||
|     <!--===========--> | ||||
|     <!--BottomSheet--> | ||||
|     <!--===========--> | ||||
|  | ||||
|     <style name="Theme.BottomSheet" parent="ThemeOverlay.MaterialComponents.BottomSheetDialog"> | ||||
|         <item name="android:windowIsFloating">false</item> | ||||
|         <item name="android:statusBarColor">@android:color/transparent</item> | ||||
|         <item name="android:navigationBarColor">?attr/colorPrimary</item> | ||||
|     </style> | ||||
|  | ||||
|  | ||||
|     <!--===============--> | ||||
|     <!--Text Appearance--> | ||||
|     <!--===============--> | ||||
|   | ||||
| @@ -57,6 +57,7 @@ | ||||
|         <item name="preferenceTheme">@style/PreferenceThemeOverlay</item> | ||||
|         <item name="dialogTheme">@style/Theme.AlertDialog.Light</item> | ||||
|         <item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item> | ||||
|         <item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item> | ||||
|         <item name="chipStyle">@style/Theme.Widget.Chip</item> | ||||
|         <item name="buttonStyle">@style/Theme.Widget.Button</item> | ||||
|         <item name="snackbarStyle">@style/Theme.Widget.Snackbar</item> | ||||
| @@ -148,6 +149,7 @@ | ||||
|         <item name="preferenceTheme">@style/PreferenceThemeOverlay</item> | ||||
|         <item name="dialogTheme">@style/Theme.AlertDialog.Dark</item> | ||||
|         <item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item> | ||||
|         <item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item> | ||||
|         <item name="chipStyle">@style/Theme.Widget.Chip</item> | ||||
|         <item name="buttonStyle">@style/Theme.Widget.Button</item> | ||||
|         <item name="snackbarStyle">@style/Theme.Widget.Snackbar</item> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user