mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-04 15:25:08 -04:00
move keyboard shortcuts into own file
This commit is contained in:
parent
d6b1c20906
commit
6830b54ce8
4 changed files with 19 additions and 70 deletions
|
@ -9,7 +9,7 @@ import 'package:go_router/go_router.dart';
|
|||
import 'package:veilid_support/veilid_support.dart';
|
||||
|
||||
import '../../../account_manager/account_manager.dart';
|
||||
import '../../../app.dart';
|
||||
import '../../../keyboard_shortcuts.dart';
|
||||
import '../../../theme/theme.dart';
|
||||
import '../../../tools/tools.dart';
|
||||
import '../../../veilid_processor/veilid_processor.dart';
|
||||
|
@ -366,7 +366,7 @@ class _DrawerMenuState extends State<DrawerMenu> {
|
|||
GestureDetector(
|
||||
onLongPress: () async {
|
||||
context
|
||||
.findAncestorWidgetOfExactType<VeilidChatApp>()!
|
||||
.findAncestorWidgetOfExactType<KeyboardShortcuts>()!
|
||||
.reloadTheme(context);
|
||||
},
|
||||
child: SvgPicture.asset(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue