We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0551d1b commit abe2006Copy full SHA for abe2006
android/src/main/java/com/swmansion/rnscreens/gamma/tabs/TabsHost.kt
@@ -194,8 +194,10 @@ class TabsHost(
194
}
195
196
var tabBarHidden: Boolean by Delegates.observable(false) { _, oldValue, newValue ->
197
- updateInterfaceInsets()
198
- updateNavigationMenuIfNeeded(oldValue, newValue)
+ if (newValue != oldValue) {
+ updateInterfaceInsets()
199
+ updateNavigationMenuIfNeeded(oldValue, newValue)
200
+ }
201
202
203
private fun <T> updateNavigationMenuIfNeeded(
0 commit comments