mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 23:14:18 +03:00
press control-q to close the app on Linux
This commit is contained in:
parent
9ad4beddce
commit
688409d2be
@ -157,6 +157,10 @@ Widget registerGlobalShortcuts(
|
||||
const SingleActivator(LogicalKeyboardKey.comma, meta: true):
|
||||
const SettingsIntent(),
|
||||
},
|
||||
if (Platform.isLinux) ...{
|
||||
const SingleActivator(LogicalKeyboardKey.keyQ, control: true):
|
||||
const CloseIntent(),
|
||||
},
|
||||
},
|
||||
child: child,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user