Skip to content

Commit 29faac6

Browse files
committed
swift 6 updates and sendable hack
1 parent a96d682 commit 29faac6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

storage/StorageReferenceSwift/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import FirebaseCore
2424
// ...
2525
// [END import_firebase]
2626

27-
@UIApplicationMain
27+
@main
2828
class AppDelegate: UIResponder, UIApplicationDelegate {
2929

3030
var window: UIWindow?

storage/StorageReferenceSwift/ViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ import FirebaseCore
2020
import FirebaseStorage
2121
import FirebaseStorageUI
2222

23+
extension StorageMetadata: @unchecked @retroactive Sendable {}
24+
extension StorageListResult: @unchecked @retroactive Sendable {}
25+
2326
class ViewController: UIViewController {
2427

2528
var imageView: UIImageView!

0 commit comments

Comments
 (0)