Skip to content

Commit 7c0537f

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)