UI improvements

This commit is contained in:
Ali
2022-09-09 21:34:27 +04:00
parent e61ae3c0b3
commit 64b1eab732
24 changed files with 675 additions and 122 deletions

View File

@@ -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 {