Skip to content

Commit 7c0537f

Browse files
fx: make mainactor
1 parent aaaf487 commit 7c0537f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Services/AccountService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public protocol AuthenticatedOperation {
3333

3434
public extension AuthenticatedOperation {
3535
func callAsFunction(on _: User,
36-
_ performOperation: () async throws -> Void) async throws {
36+
_ performOperation: @MainActor () async throws -> Void) async throws {
3737
do {
3838
try await performOperation()
3939
} catch let error as NSError where error.requiresReauthentication {

0 commit comments

Comments
 (0)