From e7bc5a31e459aed8962c57d78867158280e0da63 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 9 Apr 2026 09:34:52 +0200 Subject: [PATCH] docs(shortcuts): show platform-aware delete key in keyboard shortcuts panel --- frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts b/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts index 5e285d102..5ea5a1392 100644 --- a/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts +++ b/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts @@ -4,6 +4,7 @@ import {isAppleDevice} from '@/helpers/isAppleDevice' const ctrl = isAppleDevice() ? '⌘' : 'ctrl' const reminderModifier = isAppleDevice() ? 'shift' : 'alt' +const deleteKey = isAppleDevice() ? 'backspace' : 'delete' export interface Shortcut { title: string @@ -195,7 +196,7 @@ export const KEYBOARD_SHORTCUTS: ShortcutGroup[] = [ }, { title: 'keyboardShortcuts.task.delete', - keys: ['shift', 'delete'], + keys: [deleteKey], }, { title: 'keyboardShortcuts.task.favorite',