mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Various improvements
This commit is contained in:
@@ -163,11 +163,13 @@ public struct ChatMessageBubbleContentTapAction {
|
||||
}
|
||||
|
||||
public var content: Content
|
||||
public var rects: [CGRect]?
|
||||
public var hasLongTapAction: Bool
|
||||
public var activate: (() -> Promise<Bool>?)?
|
||||
|
||||
public init(content: Content, hasLongTapAction: Bool = true, activate: (() -> Promise<Bool>?)? = nil) {
|
||||
public init(content: Content, rects: [CGRect]? = nil, hasLongTapAction: Bool = true, activate: (() -> Promise<Bool>?)? = nil) {
|
||||
self.content = content
|
||||
self.rects = rects
|
||||
self.hasLongTapAction = hasLongTapAction
|
||||
self.activate = activate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user