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?
|
private var previousAppendTime: Double?
|
||||||
|
|
||||||
public func appendVideoSampleBuffer(_ sampleBuffer: CMSampleBuffer) {
|
public func appendVideoSampleBuffer(_ sampleBuffer: CMSampleBuffer) {
|
||||||
#if canImport(SwiftData) // Xcode 16
|
#if compiler(>=6.0) // Xcode 16
|
||||||
nonisolated(unsafe) let sampleBuffer = sampleBuffer
|
nonisolated(unsafe) let sampleBuffer = sampleBuffer
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -250,7 +250,7 @@ private final class VideoRecorderImpl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public func appendAudioSampleBuffer(_ sampleBuffer: CMSampleBuffer) {
|
public func appendAudioSampleBuffer(_ sampleBuffer: CMSampleBuffer) {
|
||||||
#if canImport(SwiftData) // Xcode 16
|
#if compiler(>=6.0) // Xcode 16
|
||||||
nonisolated(unsafe) let sampleBuffer = sampleBuffer
|
nonisolated(unsafe) let sampleBuffer = sampleBuffer
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2500,7 +2500,7 @@ public func channelStatsController(context: AccountContext, updatedPresentationD
|
|||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
var tooltipScreen: UndoOverlayController?
|
var tooltipScreen: UndoOverlayController?
|
||||||
#if canImport(SwiftData) // Xcode 16
|
#if compiler(>=6.0) // Xcode 16
|
||||||
nonisolated(unsafe) var timer: Foundation.Timer?
|
nonisolated(unsafe) var timer: Foundation.Timer?
|
||||||
#else
|
#else
|
||||||
var timer: Foundation.Timer?
|
var timer: Foundation.Timer?
|
||||||
|
@ -2481,7 +2481,7 @@ private func renderVideo(context: AccountContext, backgroundImage: UIImage, user
|
|||||||
completion(nil)
|
completion(nil)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
#if canImport(SwiftData) // Xcode 16
|
#if compiler(>=6.0) // Xcode 16
|
||||||
nonisolated(unsafe) let export = exportValue
|
nonisolated(unsafe) let export = exportValue
|
||||||
#else
|
#else
|
||||||
let export = exportValue
|
let export = exportValue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user