mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Folder improvements
This commit is contained in:
@@ -67,6 +67,12 @@ public enum ViewControllerNavigationPresentation {
|
||||
case modalInLargeLayout
|
||||
}
|
||||
|
||||
public enum TabBarItemContextActionType {
|
||||
case none
|
||||
case always
|
||||
case whenActive
|
||||
}
|
||||
|
||||
@objc open class ViewController: UIViewController, ContainableController {
|
||||
private var validLayout: ContainerViewLayout?
|
||||
public var currentlyAppliedLayout: ContainerViewLayout? {
|
||||
@@ -625,7 +631,7 @@ public enum ViewControllerNavigationPresentation {
|
||||
open func toolbarActionSelected(action: ToolbarActionOption) {
|
||||
}
|
||||
|
||||
open var hasTabBarItemContextAction: Bool = false
|
||||
open var tabBarItemContextActionType: TabBarItemContextActionType = .none
|
||||
|
||||
open func tabBarItemContextAction(sourceNode: ContextExtractedContentContainingNode, gesture: ContextGesture) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user