mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-31 18:02:20 +00:00
NavigationTransition: use bottom navigation bar edge for dim offset
This commit is contained in:
parent
febf3d3f0e
commit
401a7b33c4
@ -94,8 +94,8 @@ class NavigationTransitionCoordinator {
|
||||
}
|
||||
|
||||
var dimInset: CGFloat = 0.0
|
||||
if let topNavigationBar = self.topNavigationBar , self.inlineNavigationBarTransition {
|
||||
dimInset = topNavigationBar.frame.maxY
|
||||
if let bottomNavigationBar = self.bottomNavigationBar , self.inlineNavigationBarTransition {
|
||||
dimInset = bottomNavigationBar.frame.maxY
|
||||
}
|
||||
|
||||
let containerSize = self.container.bounds.size
|
||||
|
Loading…
x
Reference in New Issue
Block a user