mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Reaction improvements
This commit is contained in:
@@ -73,6 +73,13 @@ public enum TabBarItemContextActionType {
|
||||
case whenActive
|
||||
}
|
||||
|
||||
public protocol CustomViewControllerNavigationData: AnyObject {
|
||||
func combine(summary: CustomViewControllerNavigationDataSummary?) -> CustomViewControllerNavigationDataSummary?
|
||||
}
|
||||
|
||||
public protocol CustomViewControllerNavigationDataSummary: AnyObject {
|
||||
}
|
||||
|
||||
@objc open class ViewController: UIViewController, ContainableController {
|
||||
public struct NavigationLayout {
|
||||
public var navigationFrame: CGRect
|
||||
@@ -274,6 +281,13 @@ public enum TabBarItemContextActionType {
|
||||
}
|
||||
}
|
||||
|
||||
open var customNavigationData: CustomViewControllerNavigationData? {
|
||||
get {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
open var customNavigationDataSummary: CustomViewControllerNavigationDataSummary?
|
||||
|
||||
public internal(set) var isInFocus: Bool = false {
|
||||
didSet {
|
||||
if self.isInFocus != oldValue {
|
||||
|
||||
Reference in New Issue
Block a user