fix: missing keyboard sand shortcuts screen (#3156)

This commit is contained in:
Faisal Amir 2024-07-12 00:52:34 +07:00 committed by Louis
parent dddf3500ec
commit c54642a00f
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const SettingDetail = () => {
case 'Appearance':
return <AppearanceOptions />
case 'Hotkey & Shortcut':
case 'Keyboard Shortcuts':
return <Hotkeys />
case 'Advanced Settings':

View File

@ -24,6 +24,7 @@ export type SettingScreen = SettingScreenTuple[number]
const SettingsScreen = () => {
const setSelectedSettingScreen = useSetAtom(selectedSettingAtom)
useEffect(() => {
if (localStorage.getItem(SUCCESS_SET_NEW_DESTINATION) === 'true') {
setSelectedSettingScreen('Advanced Settings')