Support Xcode 16

This commit is contained in:
Isaac
2024-09-18 22:43:19 +08:00
parent ba352f9b6e
commit 46646a41a9
12 changed files with 44 additions and 26 deletions

View File

@@ -2500,7 +2500,7 @@ public func channelStatsController(context: AccountContext, updatedPresentationD
}))
}
var tooltipScreen: UndoOverlayController?
var timer: Foundation.Timer?
nonisolated(unsafe) var timer: Foundation.Timer?
showTimeoutTooltipImpl = { cooldownUntilTimestamp in
let remainingCooldownSeconds = cooldownUntilTimestamp - Int32(Date().timeIntervalSince1970)