mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-28 20:06:56 +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),
|
metadata.keyType.getDisplayName(l10n),
|
||||||
keys.slotMetadataKeyType
|
keys.slotMetadataKeyType
|
||||||
),
|
),
|
||||||
if (metadata != null && supportsBio)
|
if (metadata != null &&
|
||||||
|
metadata.pinPolicy != PinPolicy.never &&
|
||||||
|
supportsBio)
|
||||||
l10n.s_biometrics: (
|
l10n.s_biometrics: (
|
||||||
[PinPolicy.matchAlways, PinPolicy.matchOnce]
|
[PinPolicy.matchAlways, PinPolicy.matchOnce]
|
||||||
.contains(metadata.pinPolicy)
|
.contains(metadata.pinPolicy)
|
||||||
|
Loading…
Reference in New Issue
Block a user