mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 00:57:26 +03:00
Focus on clicked AppListItem.
This commit is contained in:
parent
e4d49ea4b4
commit
de213e10fb
@ -94,6 +94,7 @@ class _AppListItemState<T> extends ConsumerState<AppListItem> {
|
||||
}
|
||||
},
|
||||
onTap: () {
|
||||
_focusNode.requestFocus();
|
||||
if (tapIntent != null) {
|
||||
Actions.invoke(context, tapIntent);
|
||||
}
|
||||
@ -105,7 +106,6 @@ class _AppListItemState<T> extends ConsumerState<AppListItem> {
|
||||
});
|
||||
Actions.invoke(context, doubleTapIntent);
|
||||
} else {
|
||||
_focusNode.requestFocus();
|
||||
setState(() {
|
||||
_lastTap = now;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user