mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
Show FIDO EA status in all relevant states
This commit is contained in:
parent
2e48131c9b
commit
0a8649291b
@ -52,12 +52,11 @@ Widget _fidoBuildActions(BuildContext context, DeviceNode node, FidoState state,
|
||||
final authBlocked = state.pinBlocked;
|
||||
|
||||
final enterpriseAttestation = state.enterpriseAttestation;
|
||||
final showEnterpriseAttestation = enterpriseAttestation != null &&
|
||||
final showEnterpriseAttestation =
|
||||
enterpriseAttestation != null && fingerprints == null;
|
||||
final canEnableEnterpriseAttestation = enterpriseAttestation == false &&
|
||||
!(state.alwaysUv && !state.hasPin) &&
|
||||
!(!state.unlocked && state.hasPin) &&
|
||||
fingerprints == null;
|
||||
final canEnableEnterpriseAttestation =
|
||||
enterpriseAttestation == false && showEnterpriseAttestation;
|
||||
!(!state.unlocked && state.hasPin);
|
||||
|
||||
return Column(
|
||||
children: [
|
||||
|
Loading…
Reference in New Issue
Block a user