Progress indicators

This commit is contained in:
Ali
2023-10-20 14:32:12 +04:00
parent 89fbca6fdb
commit dd46ccd6ed
14 changed files with 558 additions and 163 deletions

View File

@@ -76,10 +76,12 @@ public protocol ChatMessageTransitionProtocol: ASDisplayNode {
public struct NavigateToMessageParams {
public var timestamp: Double?
public var quote: String?
public var progress: Promise<Bool>?
public init(timestamp: Double?, quote: String?) {
public init(timestamp: Double?, quote: String?, progress: Promise<Bool>? = nil) {
self.timestamp = timestamp
self.quote = quote
self.progress = progress
}
}