mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
21d5fe177b
commit
c474162cff
@ -123,7 +123,7 @@ private final class VideoRecorderImpl {
|
||||
private var previousAppendTime: Double?
|
||||
|
||||
public func appendVideoSampleBuffer(_ sampleBuffer: CMSampleBuffer) {
|
||||
#if canImport(SwiftData) // Xcode 16
|
||||
#if compiler(>=6.0) // Xcode 16
|
||||
nonisolated(unsafe) let sampleBuffer = sampleBuffer
|
||||
#endif
|
||||
|
||||
@ -250,7 +250,7 @@ private final class VideoRecorderImpl {
|
||||
}
|
||||
|
||||
public func appendAudioSampleBuffer(_ sampleBuffer: CMSampleBuffer) {
|
||||
#if canImport(SwiftData) // Xcode 16
|
||||
#if compiler(>=6.0) // Xcode 16
|
||||
nonisolated(unsafe) let sampleBuffer = sampleBuffer
|
||||
#endif
|
||||
|
||||
|
@ -2500,7 +2500,7 @@ public func channelStatsController(context: AccountContext, updatedPresentationD
|
||||
}))
|
||||
}
|
||||
var tooltipScreen: UndoOverlayController?
|
||||
#if canImport(SwiftData) // Xcode 16
|
||||
#if compiler(>=6.0) // Xcode 16
|
||||
nonisolated(unsafe) var timer: Foundation.Timer?
|
||||
#else
|
||||
var timer: Foundation.Timer?
|
||||
|
@ -2481,7 +2481,7 @@ private func renderVideo(context: AccountContext, backgroundImage: UIImage, user
|
||||
completion(nil)
|
||||
return
|
||||
}
|
||||
#if canImport(SwiftData) // Xcode 16
|
||||
#if compiler(>=6.0) // Xcode 16
|
||||
nonisolated(unsafe) let export = exportValue
|
||||
#else
|
||||
let export = exportValue
|
||||
|
Loading…
x
Reference in New Issue
Block a user