mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-19 10:46:35 +00:00
Fix legacy tab bar position
This commit is contained in:
@@ -545,7 +545,11 @@ public final class TabBarComponent: Component {
|
||||
|
||||
transition.setFrame(view: self.contextGestureContainerView, frame: CGRect(origin: CGPoint(), size: size))
|
||||
|
||||
return CGSize(width: availableSize.width, height: 62.0)
|
||||
if self.nativeTabBar != nil {
|
||||
return CGSize(width: availableSize.width, height: 62.0)
|
||||
} else {
|
||||
return size
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user