mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Fix build
This commit is contained in:
@@ -2500,7 +2500,11 @@ public func channelStatsController(context: AccountContext, updatedPresentationD
|
||||
}))
|
||||
}
|
||||
var tooltipScreen: UndoOverlayController?
|
||||
#if canImport(SwiftData) // Xcode 16
|
||||
nonisolated(unsafe) var timer: Foundation.Timer?
|
||||
#else
|
||||
var timer: Foundation.Timer?
|
||||
#endif
|
||||
showTimeoutTooltipImpl = { cooldownUntilTimestamp in
|
||||
let remainingCooldownSeconds = cooldownUntilTimestamp - Int32(Date().timeIntervalSince1970)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user