mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-01-13 00:09:47 -05:00
fix deprecated function
This commit is contained in:
parent
ce3d333397
commit
e89359e1f5
@ -55,7 +55,7 @@ class HistoryWrapper {
|
||||
}
|
||||
});
|
||||
},
|
||||
focusNode: FocusNode(onKey: (FocusNode node, RawKeyEvent event) {
|
||||
focusNode: FocusNode(onKeyEvent: (FocusNode node, KeyEvent event) {
|
||||
if (event.logicalKey == LogicalKeyboardKey.arrowDown ||
|
||||
event.logicalKey == LogicalKeyboardKey.arrowUp) {
|
||||
return KeyEventResult.handled;
|
||||
|
Loading…
Reference in New Issue
Block a user