mirror of
https://github.com/foss42/apidash.git
synced 2025-12-05 04:18:56 +08:00
Update
This commit is contained in:
@@ -19,11 +19,11 @@ class Dashboard extends ConsumerWidget {
|
|||||||
final railIdx = ref.watch(navRailIndexStateProvider);
|
final railIdx = ref.watch(navRailIndexStateProvider);
|
||||||
return Shortcuts(
|
return Shortcuts(
|
||||||
shortcuts: {
|
shortcuts: {
|
||||||
LogicalKeySet(LogicalKeyboardKey.controlLeft, LogicalKeyboardKey.keyS): const SaveIntent(),
|
LogicalKeySet(LogicalKeyboardKey.control, LogicalKeyboardKey.keyS): const SaveIntent(),
|
||||||
},
|
},
|
||||||
child: Actions(
|
child: Actions(
|
||||||
actions: {
|
actions: {
|
||||||
SaveIntent: CallbackAction(onInvoke: (intent) => saveData(context, ref))
|
SaveIntent : CallbackAction(onInvoke: (intent) => saveData(context, ref))
|
||||||
},
|
},
|
||||||
child: FocusScope(
|
child: FocusScope(
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user