Skip to content

Commit 4d9428b

Browse files
morganchen12ncooke3
authored andcommitted
[Auth] Synchronize 'TOTPSecret.openInOTPApp(withQRCodeURL:)' to main actor
1 parent 54920bc commit 4d9428b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAuth/Sources/Swift/MultiFactor/TOTP/TOTPSecret.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import Foundation
5454
///
5555
/// See more details
5656
/// [here](https://developer.apple.com/documentation/authenticationservices/securing_logins_with_icloud_keychain_verification_codes)
57-
@objc(openInOTPAppWithQRCodeURL:)
57+
@MainActor @objc(openInOTPAppWithQRCodeURL:)
5858
open func openInOTPApp(withQRCodeURL qrCodeURL: String) {
5959
if GULAppEnvironmentUtil.isAppExtension() {
6060
// iOS App extensions should not call [UIApplication sharedApplication], even if

0 commit comments

Comments
 (0)