mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Merge branch 'main' into test/passkey-tests
This commit is contained in:
commit
813904e878
@ -208,7 +208,15 @@ class _ResetDialogState extends ConsumerState<ResetDialog> {
|
||||
.where((c) => supported & c.value != 0)
|
||||
.map((c) => ButtonSegment(
|
||||
value: c,
|
||||
icon: Icon(c._icon),
|
||||
icon: Icon(
|
||||
c._icon,
|
||||
key: switch (c) {
|
||||
Capability.oath => factoryResetPickResetOath,
|
||||
Capability.fido2 => factoryResetPickResetFido2,
|
||||
Capability.piv => factoryResetPickResetPiv,
|
||||
_ => const Key('_invalid') // no reset
|
||||
},
|
||||
),
|
||||
label: showLabels
|
||||
? Text(c.getDisplayName(l10n))
|
||||
: null,
|
||||
|
Loading…
Reference in New Issue
Block a user