Swiftgram/submodules/Display/Source/AlertContentNode.swift
2022-07-30 03:51:46 +03:00

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() {
}
}