🐛 Fixes ignored wrong exception in sign in with apple
This commit is contained in:
parent
00b3dc7be6
commit
4b9c9aec92
@ -150,7 +150,7 @@ class AccountConnectionNewSheet extends HookConsumerWidget {
|
||||
Navigator.pop(context, true);
|
||||
}
|
||||
} catch (err) {
|
||||
if (err is SignInWithAppleCredentialsException) return;
|
||||
if (err is SignInWithAppleAuthorizationException) return;
|
||||
showErrorAlert(err);
|
||||
} finally {
|
||||
if (context.mounted) hideLoadingModal(context);
|
||||
|
@ -597,7 +597,7 @@ class _LoginLookupScreen extends HookConsumerWidget {
|
||||
if (context.mounted) Navigator.pop(context, true);
|
||||
});
|
||||
} catch (err) {
|
||||
if (err is SignInWithAppleCredentialsException) return;
|
||||
if (err is SignInWithAppleAuthorizationException) return;
|
||||
showErrorAlert(err);
|
||||
} finally {
|
||||
if (context.mounted) hideLoadingModal(context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user