diff --git a/android/src/main/kotlin/ca/gosyer/jui/android/MainActivity.kt b/android/src/main/kotlin/ca/gosyer/jui/android/MainActivity.kt index a19c44f7..ef60b04c 100644 --- a/android/src/main/kotlin/ca/gosyer/jui/android/MainActivity.kt +++ b/android/src/main/kotlin/ca/gosyer/jui/android/MainActivity.kt @@ -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 {} diff --git a/presentation/src/commonMain/kotlin/ca/gosyer/jui/ui/main/components/BottomNav.kt b/presentation/src/commonMain/kotlin/ca/gosyer/jui/ui/main/components/BottomNav.kt index 9a1c7b2e..107da8cc 100644 --- a/presentation/src/commonMain/kotlin/ca/gosyer/jui/ui/main/components/BottomNav.kt +++ b/presentation/src/commonMain/kotlin/ca/gosyer/jui/ui/main/components/BottomNav.kt @@ -132,4 +132,4 @@ fun BottomNavigation( content = content ) } -} \ No newline at end of file +} diff --git a/ui-core/src/androidMain/kotlin/ca/gosyer/jui/uicore/insets/AndroidWindowInsets.kt b/ui-core/src/androidMain/kotlin/ca/gosyer/jui/uicore/insets/AndroidWindowInsets.kt index d313647e..e6eef299 100644 --- a/ui-core/src/androidMain/kotlin/ca/gosyer/jui/uicore/insets/AndroidWindowInsets.kt +++ b/ui-core/src/androidMain/kotlin/ca/gosyer/jui/uicore/insets/AndroidWindowInsets.kt @@ -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. diff --git a/ui-core/src/commonMain/kotlin/ca/gosyer/jui/uicore/insets/WindowInsets.kt b/ui-core/src/commonMain/kotlin/ca/gosyer/jui/uicore/insets/WindowInsets.kt index 216a2414..e1174cf2 100644 --- a/ui-core/src/commonMain/kotlin/ca/gosyer/jui/uicore/insets/WindowInsets.kt +++ b/ui-core/src/commonMain/kotlin/ca/gosyer/jui/uicore/insets/WindowInsets.kt @@ -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. diff --git a/ui-core/src/desktopMain/kotlin/ca/gosyer/jui/uicore/insets/DesktopWindowInsets.kt b/ui-core/src/desktopMain/kotlin/ca/gosyer/jui/uicore/insets/DesktopWindowInsets.kt index 75fb285b..dcf1147d 100644 --- a/ui-core/src/desktopMain/kotlin/ca/gosyer/jui/uicore/insets/DesktopWindowInsets.kt +++ b/ui-core/src/desktopMain/kotlin/ca/gosyer/jui/uicore/insets/DesktopWindowInsets.kt @@ -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.