Automatic Lint

This commit is contained in:
Syer10
2022-08-26 19:46:09 +00:00
parent 64473f13a9
commit 8e4cb7a189
5 changed files with 6 additions and 4 deletions

View File

@@ -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 {}

View File

@@ -132,4 +132,4 @@ fun BottomNavigation(
content = content
)
}
}
}

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.