Skip to content

Commit

Permalink
fix: auth cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
lollipopkit committed Apr 18, 2024
1 parent 1c0ea9e commit 536b7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/utils/platform/auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ abstract final class BioAuth {
if (!_isAuthing) {
_isAuthing = true;
final val = await goWithResult();
_isAuthing = false;
switch (val) {
case AuthResult.success:
break;
Expand All @@ -48,7 +49,6 @@ abstract final class BioAuth {
Stores.setting.useBioAuth.put(false);
break;
}
_isAuthing = false;
}
}
}
Expand Down

0 comments on commit 536b7f3

Please sign in to comment.