From 5a30aa7f2f01e92807893c2cd8b2e3bfaa062f1f Mon Sep 17 00:00:00 2001
From: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Date: Thu, 12 Oct 2023 19:28:32 +0300
Subject: [PATCH] [ENG-1257] Replace S with T for settings page shortcut
(#1543)
Replace S with T for setting
---
interface/app/$libraryId/Layout/Sidebar/Footer.tsx | 4 ++--
interface/app/$libraryId/settings/client/keybindings.tsx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/interface/app/$libraryId/Layout/Sidebar/Footer.tsx b/interface/app/$libraryId/Layout/Sidebar/Footer.tsx
index c04caa0cb..a239ec536 100644
--- a/interface/app/$libraryId/Layout/Sidebar/Footer.tsx
+++ b/interface/app/$libraryId/Layout/Sidebar/Footer.tsx
@@ -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 () => {
diff --git a/interface/app/$libraryId/settings/client/keybindings.tsx b/interface/app/$libraryId/settings/client/keybindings.tsx
index d4e8697d8..376c90ba1 100644
--- a/interface/app/$libraryId/settings/client/keybindings.tsx
+++ b/interface/app/$libraryId/settings/client/keybindings.tsx
@@ -33,10 +33,10 @@ const shortcutCategories: Record = {
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']
}
}
},