mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
UI improvements
This commit is contained in:
@@ -210,6 +210,15 @@ public protocol CustomViewControllerNavigationDataSummary: AnyObject {
|
||||
|
||||
open var hasActiveInput: Bool = false
|
||||
|
||||
open var overlayWantsToBeBelowKeyboard: Bool {
|
||||
return false
|
||||
}
|
||||
|
||||
var internalOverlayWantsToBeBelowKeyboardUpdated: ((ContainedViewLayoutTransition) -> Void)?
|
||||
public func overlayWantsToBeBelowKeyboardUpdated(transition: ContainedViewLayoutTransition) {
|
||||
self.internalOverlayWantsToBeBelowKeyboardUpdated?(transition)
|
||||
}
|
||||
|
||||
private var navigationBarOrigin: CGFloat = 0.0
|
||||
|
||||
open func navigationLayout(layout: ContainerViewLayout) -> NavigationLayout {
|
||||
|
||||
Reference in New Issue
Block a user