mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-17 06:29:15 -04:00
[ENG-1257] Replace S with T for settings page shortcut (#1543)
Replace S with T for setting
This commit is contained in:
1 parent
a921ce3fa4
commit
5a30aa7f2f
2 files changed
+4
-4
No files matched your search
@@ -16,7 +16,7 @@ export default () => {
|
||||
const navigate = useNavigate();
|
||||
const { key, icon } = useKeyMatcher('Meta');
|
||||
|
||||
useKeys([key, 'Shift', 'KeyS'], (e) => {
|
||||
useKeys([key, 'Shift', 'KeyT'], (e) => {
|
||||
e.stopPropagation();
|
||||
navigate('settings/client/general');
|
||||
});
|
||||
@@ -50,7 +50,7 @@ export default () => {
|
||||
<Tooltip
|
||||
position="top"
|
||||
label="Settings"
|
||||
keybinds={[modifierSymbols.Shift.Other, icon, 'S']}
|
||||
keybinds={[modifierSymbols.Shift.Other, icon, 'T']}
|
||||
>
|
||||
<Gear className="h-5 w-5" />
|
||||
</Tooltip>
|
||||
|
||||
@@ -33,10 +33,10 @@ const shortcutCategories: Record<string, Shortcut[]> = {
|
||||
action: 'Navigate to Settings page',
|
||||
keys: {
|
||||
macOS: {
|
||||
value: ['Shift', modifierSymbols.Meta.macOS, 'S']
|
||||
value: ['Shift', modifierSymbols.Meta.macOS, 'T']
|
||||
},
|
||||
all: {
|
||||
value: ['Shift', modifierSymbols.Control.Other, 'S']
|
||||
value: ['Shift', modifierSymbols.Control.Other, 'T']
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user