Skip to content

Commit 69b4901

Browse files
chore: improve logic
1 parent e8dc34d commit 69b4901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExample/ContentView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct ContentView: View {
2525
actionCodeSettings.linkDomain = "flutterfire-e2e-tests.firebaseapp.com"
2626
actionCodeSettings.setIOSBundleID(Bundle.main.bundleIdentifier!)
2727
let configuration = AuthConfiguration(
28-
shouldAutoUpgradeAnonymousUsers: uiAuthEmulator ? false : true,
28+
shouldAutoUpgradeAnonymousUsers: !uiAuthEmulator,
2929
tosUrl: URL(string: "https://example.com/tos"),
3030
privacyPolicyUrl: URL(string: "https://example.com/privacy"),
3131
emailLinkSignInActionCodeSettings: actionCodeSettings

0 commit comments

Comments
 (0)