mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 05:52:40 +03:00
Don't show bio status for PinPolicy.never
This commit is contained in:
parent
e0c0b2ae2d
commit
6e20ee198f
@ -47,7 +47,9 @@ class CertInfoTable extends ConsumerWidget {
|
||||
metadata.keyType.getDisplayName(l10n),
|
||||
keys.slotMetadataKeyType
|
||||
),
|
||||
if (metadata != null && supportsBio)
|
||||
if (metadata != null &&
|
||||
metadata.pinPolicy != PinPolicy.never &&
|
||||
supportsBio)
|
||||
l10n.s_biometrics: (
|
||||
[PinPolicy.matchAlways, PinPolicy.matchOnce]
|
||||
.contains(metadata.pinPolicy)
|
||||
|
Loading…
Reference in New Issue
Block a user