Keeps the transparency settings for statusbar and navigation for now.
This commit is contained in:
@@ -542,7 +542,9 @@ fun AmethystTheme(
|
||||
insets.isAppearanceLightNavigationBars = !darkTheme
|
||||
insets.isAppearanceLightStatusBars = !darkTheme
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
window.statusBarColor = colors.transparentBackground.toArgb()
|
||||
@Suppress("DEPRECATION")
|
||||
window.navigationBarColor = colors.transparentBackground.toArgb()
|
||||
|
||||
view.setBackgroundColor(colors.background.toArgb())
|
||||
|
||||
Reference in New Issue
Block a user