mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
17 lines
373 B
Swift
17 lines
373 B
Swift
import Foundation
|
|
import AsyncDisplayKit
|
|
import Display
|
|
|
|
public protocol NotificationItem {
|
|
var groupingKey: AnyHashable? { get }
|
|
|
|
func node() -> NotificationItemNode
|
|
func tapped()
|
|
}
|
|
|
|
public class NotificationItemNode: ASDisplayNode {
|
|
func updateLayout(width: CGFloat, transition: ContainedViewLayoutTransition) -> CGFloat {
|
|
return 32.0
|
|
}
|
|
}
|