mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
34 lines
672 B
Swift
34 lines
672 B
Swift
import Foundation
|
|
import UIKit
|
|
import AsyncDisplayKit
|
|
|
|
open class AlertContentNode: ASDisplayNode {
|
|
open var requestLayout: ((ContainedViewLayoutTransition) -> Void)?
|
|
|
|
open var dismissOnOutsideTap: Bool {
|
|
return true
|
|
}
|
|
|
|
open func updateLayout(size: CGSize, transition: ContainedViewLayoutTransition) -> CGSize {
|
|
assertionFailure()
|
|
|
|
return CGSize()
|
|
}
|
|
|
|
open func updateTheme(_ theme: AlertControllerTheme) {
|
|
|
|
}
|
|
|
|
open func performHighlightedAction() {
|
|
|
|
}
|
|
|
|
open func decreaseHighlightedIndex() {
|
|
|
|
}
|
|
|
|
open func increaseHighlightedIndex() {
|
|
|
|
}
|
|
}
|