diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/hotkeys.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/hotkeys.dart index ac2a57ec80..bab2c3b618 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/home/hotkeys.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/hotkeys.dart @@ -136,13 +136,18 @@ class _HomeHotKeysState extends State { ), // Scale up/down the app - HotKeyItem( - hotKey: HotKey( - KeyCode.equal, - modifiers: [Platform.isMacOS ? KeyModifier.meta : KeyModifier.control], - scope: HotKeyScope.inapp, + // In some keyboards, the system returns equal as + keycode, while others may return add as + keycode, so add them both as zoom in key. + ...[KeyCode.equal, KeyCode.add].map( + (keycode) => HotKeyItem( + hotKey: HotKey( + keycode, + modifiers: [ + Platform.isMacOS ? KeyModifier.meta : KeyModifier.control, + ], + scope: HotKeyScope.inapp, + ), + keyDownHandler: (_) => _scaleWithStep(0.1), ), - keyDownHandler: (_) => _scaleWithStep(0.1), ), HotKeyItem(