Skip to content

Commit c57d715

Browse files
authored
Ensure calls to GSI are made on the main thread.
1 parent c1c4afe commit c57d715

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Samples/Swift/DaysUntilBirthday/Shared/Services/GoogleSignInAuthenticator.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import AppKit
2323
#endif
2424

2525
/// An observable class for authenticating via Google.
26+
@MainActor
2627
final class GoogleSignInAuthenticator {
2728
private var authViewModel: AuthenticationViewModel
2829

0 commit comments

Comments
 (0)