Fix legacy tab bar position

This commit is contained in:
Isaac 2025-09-27 01:09:26 +08:00
parent ecfe436a24
commit f5ca87fb23

View File

@ -545,7 +545,11 @@ public final class TabBarComponent: Component {
transition.setFrame(view: self.contextGestureContainerView, frame: CGRect(origin: CGPoint(), size: size))
if self.nativeTabBar != nil {
return CGSize(width: availableSize.width, height: 62.0)
} else {
return size
}
}
}