diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt index e650db77c..0464558f9 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt @@ -37,10 +37,6 @@ class WebViewActivity : BaseActivity() { binding = WebviewActivityBinding.inflate(layoutInflater) setContentView(binding.root) - // Manually override status bar color since it's normally transparent with the app themes - // This is needed to hide the app bar when it scrolls up - window.statusBarColor = getResourceColor(R.attr.colorPrimaryDark) - title = intent.extras?.getString(TITLE_KEY) setSupportActionBar(binding.toolbar) supportActionBar?.setDisplayHomeAsUpEnabled(true) diff --git a/app/src/main/java/eu/kanade/tachiyomi/widget/SimpleNavigationView.kt b/app/src/main/java/eu/kanade/tachiyomi/widget/SimpleNavigationView.kt index e55b89611..e89354e17 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/widget/SimpleNavigationView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/widget/SimpleNavigationView.kt @@ -54,10 +54,6 @@ open class SimpleNavigationView @JvmOverloads constructor( R.styleable.NavigationView_elevation, 0).toFloat()) } - @Suppress("DEPRECATION") - ViewCompat.setFitsSystemWindows(this, - a.getBoolean(R.styleable.NavigationView_android_fitsSystemWindows, false)) - maxWidth = a.getDimensionPixelSize(R.styleable.NavigationView_android_maxWidth, 0) a.recycle() diff --git a/app/src/main/res/layout/catalogue_controller.xml b/app/src/main/res/layout/catalogue_controller.xml index 84bd97400..e5c8a15e1 100644 --- a/app/src/main/res/layout/catalogue_controller.xml +++ b/app/src/main/res/layout/catalogue_controller.xml @@ -7,8 +7,7 @@ + android:layout_height="match_parent"> locale + ?attr/colorPrimary + ?attr/colorPrimary true false @style/ThemeOverlay.MaterialComponents @@ -65,7 +67,6 @@ @@ -164,6 +156,7 @@ @color/colorAmoledPrimary + @android:color/transparent