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