https://kotlinlang.org logo
#compose-android
Title
# compose-android
z

zalewski.se

03/19/2023, 8:58 PM
Is there any nice way in JC to show/hide navigation bar without animation? 🤔 Currently I have this but obviously, it’s with animation:
Copy code
val systemUiController = rememberSystemUiController()
DisposableEffect(transformationState) {
   systemUiController.isNavigationBarVisible = isNavigationBarVisible
   onDispose {}
}
b

Ben Trengrove [G]

03/21/2023, 1:03 AM
I don't think so, it just calls the system API underneath so is out of our control
z

zalewski.se

03/21/2023, 1:44 PM
Instagram somehow does it, so there must be a way 🤔
4 Views