mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 18:22:39 +03:00
Merge branch 'main' into test/otp-tests
This commit is contained in:
commit
4543082bd9
@ -375,6 +375,13 @@ class _UnlockedViewState extends ConsumerState<_UnlockedView> {
|
||||
node.focusInDirection(TraversalDirection.down);
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
if (event.logicalKey == LogicalKeyboardKey.escape) {
|
||||
searchController.clear();
|
||||
ref.read(searchProvider.notifier).setFilter('');
|
||||
node.unfocus();
|
||||
setState(() {});
|
||||
return KeyEventResult.handled;
|
||||
}
|
||||
return KeyEventResult.ignored;
|
||||
},
|
||||
child: Builder(builder: (context) {
|
||||
|
Loading…
Reference in New Issue
Block a user