mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Automatic Lint
This commit is contained in:
@@ -56,12 +56,12 @@ class MainActivity : AppCompatActivity() {
|
||||
DisposableEffect(systemUiController, useDarkIcons, primaryColor) {
|
||||
systemUiController.setStatusBarColor(
|
||||
color = primaryColor,
|
||||
darkIcons = useDarkIcons,
|
||||
darkIcons = useDarkIcons
|
||||
)
|
||||
systemUiController.setNavigationBarColor(
|
||||
color = Color.Transparent,
|
||||
darkIcons = useDarkIcons,
|
||||
navigationBarContrastEnforced = false,
|
||||
navigationBarContrastEnforced = false
|
||||
)
|
||||
|
||||
onDispose {}
|
||||
|
||||
@@ -132,4 +132,4 @@ fun BottomNavigation(
|
||||
content = content
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -281,6 +281,7 @@ actual val WindowInsets.Companion.areSystemBarsVisible: Boolean
|
||||
@Composable
|
||||
@NonRestartableComposable
|
||||
get() = areSystemBarsVisible
|
||||
|
||||
/**
|
||||
* `true` when the [tappableElement] is being displayed, irrespective of
|
||||
* whether they intersects with the Window.
|
||||
|
||||
@@ -256,6 +256,7 @@ expect val WindowInsets.Companion.areSystemBarsVisible: Boolean
|
||||
@Composable
|
||||
@NonRestartableComposable
|
||||
get
|
||||
|
||||
/**
|
||||
* `true` when the [tappableElement] is being displayed, irrespective of
|
||||
* whether they intersects with the Window.
|
||||
|
||||
@@ -24,7 +24,6 @@ object EmptyWindowInsets : WindowInsets {
|
||||
override fun getTop(density: Density): Int = 0
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* For the [WindowInsetsCompat.Type.captionBar].
|
||||
*/
|
||||
@@ -268,6 +267,7 @@ actual val WindowInsets.Companion.areSystemBarsVisible: Boolean
|
||||
@Composable
|
||||
@NonRestartableComposable
|
||||
get() = false
|
||||
|
||||
/**
|
||||
* `true` when the [tappableElement] is being displayed, irrespective of
|
||||
* whether they intersects with the Window.
|
||||
|
||||
Reference in New Issue
Block a user