Swiftgram/submodules/Display/Source/AlertContentNode.swift
2019-11-14 23:27:44 +04:00

22 lines
491 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) {
}
}