mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-26 10:33:15 +03:00
Merge PR #1394
This commit is contained in:
commit
6a509463d4
@ -106,6 +106,7 @@ class _ResetDialogState extends ConsumerState<ResetDialog> {
|
||||
onCancel: switch (_application) {
|
||||
Capability.fido2 => _currentStep < 3
|
||||
? () {
|
||||
_currentStep = -1;
|
||||
_subscription?.cancel();
|
||||
}
|
||||
: null,
|
||||
@ -222,7 +223,8 @@ class _ResetDialogState extends ConsumerState<ResetDialog> {
|
||||
: null,
|
||||
tooltip:
|
||||
!showLabels ? c.getDisplayName(l10n) : null,
|
||||
enabled: enabled & c.value != 0,
|
||||
enabled:
|
||||
enabled & c.value != 0 && (_currentStep == -1),
|
||||
))
|
||||
.toList(),
|
||||
selected: _application != null ? {_application!} : {},
|
||||
|
Loading…
Reference in New Issue
Block a user