mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
fix: auth cancel
This commit is contained in:
@@ -37,6 +37,7 @@ abstract final class BioAuth {
|
||||
if (!_isAuthing) {
|
||||
_isAuthing = true;
|
||||
final val = await goWithResult();
|
||||
_isAuthing = false;
|
||||
switch (val) {
|
||||
case AuthResult.success:
|
||||
break;
|
||||
@@ -48,7 +49,6 @@ abstract final class BioAuth {
|
||||
Stores.setting.useBioAuth.put(false);
|
||||
break;
|
||||
}
|
||||
_isAuthing = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user