-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always create full account on PasswordLoginScene
#206
Conversation
cf72d70
to
96c77e7
Compare
47bca30
to
916bd79
Compare
@@ -6,7 +6,6 @@ export type BiometryType = 'FaceID' | 'TouchID' | false | |||
export type InitialRouteName = | |||
| 'login' | |||
| 'login-password' | |||
| 'login-password-light' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a public API, so we can't really change it without a major version bump. So, instead of deleting it, just mark it with /** @deprecated Same as 'login-password' */
, and then in the switch statement, you can just merge it with the 'login-password' case:
switch (imports.initialRoute) {
case 'login':
// ...
case 'login-password-light':
case 'login-password':
// visit password scene
case 'new-account':
// ...
}
@@ -69,12 +67,10 @@ export interface TouchIdInfo { | |||
// | |||
|
|||
export interface ExperimentConfig { | |||
createAccountType: CreateAccountType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleting this public API is fine, since previous inputs would still be valid - we just ignore the unknown value.
916bd79
to
1918822
Compare
1918822
to
5ed5113
Compare
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneDescription
none