feature: Deprecated authwebview and use platform browser

This commit is contained in:
Christian Pauly 2021-02-01 11:47:33 +01:00
commit 4e5e3a80d6
5 changed files with 33 additions and 82 deletions

View file

@ -81,12 +81,20 @@ class _SignUpPasswordState extends State<SignUpPassword> {
);
if (OkCancelResult.ok ==
await showOkCancelAlertDialog(
message: L10n.of(context).pleaseFollowInstructionsOnWeb,
context: context,
okLabel: L10n.of(context).next,
cancelLabel: L10n.of(context).cancel,
)) {
_signUpAction(
context,
auth: AuthenticationData(session: exception.session),
);
} else {
setState(() {
loading = false;
passwordError = null;
});
}
return;
}