mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix build
This commit is contained in:
@@ -2481,7 +2481,11 @@ private func renderVideo(context: AccountContext, backgroundImage: UIImage, user
|
||||
completion(nil)
|
||||
return
|
||||
}
|
||||
#if canImport(SwiftData) // Xcode 16
|
||||
nonisolated(unsafe) let export = exportValue
|
||||
#else
|
||||
let export = exportValue
|
||||
#endif
|
||||
|
||||
let videoName = UUID().uuidString
|
||||
let exportURL = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent(videoName).appendingPathExtension("mp4")
|
||||
|
||||
Reference in New Issue
Block a user