Skip to content

Commit 9c6378d

Browse files
committed
fix: add missing enum member for pendingSignInEmail in StorageKey
1 parent e286056 commit 9c6378d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/src/storage_keys.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ enum StorageKey {
1515

1616
/// Key for storing a boolean flag indicating whether the user has completed
1717
/// the onboarding flow.
18-
hasSeenOnboarding;
18+
hasSeenOnboarding,
19+
20+
/// Key for storing the email address of a user who is in the process of
21+
/// signing in, useful for pre-filling the email field.
22+
pendingSignInEmail;
1923

2024
/// Returns the snake_case string representation of the key for storage.
2125
String get stringValue {
@@ -24,6 +28,8 @@ enum StorageKey {
2428
return 'auth_token';
2529
case StorageKey.hasSeenOnboarding:
2630
return 'has_seen_onboarding';
31+
case StorageKey.pendingSignInEmail:
32+
return 'pending_sign_in_email';
2733
}
2834
}
2935
}

0 commit comments

Comments
 (0)