diff options
author | 2021-08-10 07:52:45 +0530 | |
---|---|---|
committer | 2021-08-10 07:52:45 +0530 | |
commit | cfaa5ee25c094a96e106ce0bf657f8cd6a59b867 (patch) | |
tree | f3bc6623e181d849440339ad84b01a285a8b4c5a /src/components/layout/Sidebar.js | |
parent | 5.6.1-nightly.20 [skip ci] (diff) | |
download | ferdium-app-cfaa5ee25c094a96e106ce0bf657f8cd6a59b867.tar.gz ferdium-app-cfaa5ee25c094a96e106ce0bf657f8cd6a59b867.tar.zst ferdium-app-cfaa5ee25c094a96e106ce0bf657f8cd6a59b867.zip |
refactor: Use symbols for key shortcuts
Diffstat (limited to 'src/components/layout/Sidebar.js')
-rw-r--r-- | src/components/layout/Sidebar.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index 008143a99..14ab21fb5 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js | |||
@@ -6,7 +6,7 @@ import { inject, observer } from 'mobx-react'; | |||
6 | import { Link } from 'react-router'; | 6 | import { Link } from 'react-router'; |
7 | 7 | ||
8 | import Tabbar from '../services/tabs/Tabbar'; | 8 | import Tabbar from '../services/tabs/Tabbar'; |
9 | import { ctrlKey, isMac } from '../../environment'; | 9 | import { ctrlKey, isMac, shiftKey } from '../../environment'; |
10 | import { workspaceStore } from '../../features/workspaces'; | 10 | import { workspaceStore } from '../../features/workspaces'; |
11 | import { todosStore } from '../../features/todos'; | 11 | import { todosStore } from '../../features/todos'; |
12 | import { todoActions } from '../../features/todos/actions'; | 12 | import { todoActions } from '../../features/todos/actions'; |
@@ -151,7 +151,7 @@ export default @inject('stores', 'actions') @observer class Sidebar extends Comp | |||
151 | }, | 151 | }, |
152 | }); | 152 | }); |
153 | }} | 153 | }} |
154 | data-tip={`${intl.formatMessage(messages.lockFerdi)} (${ctrlKey}+Shift+L)`} | 154 | data-tip={`${intl.formatMessage(messages.lockFerdi)} (${ctrlKey}+${shiftKey}+L)`} |
155 | > | 155 | > |
156 | <i className="mdi mdi-lock" /> | 156 | <i className="mdi mdi-lock" /> |
157 | </button> | 157 | </button> |
@@ -190,7 +190,7 @@ export default @inject('stores', 'actions') @observer class Sidebar extends Comp | |||
190 | this.updateToolTip(); | 190 | this.updateToolTip(); |
191 | }} | 191 | }} |
192 | className={`sidebar__button sidebar__button--audio ${isAppMuted ? 'is-muted' : ''}`} | 192 | className={`sidebar__button sidebar__button--audio ${isAppMuted ? 'is-muted' : ''}`} |
193 | data-tip={`${intl.formatMessage(isAppMuted ? messages.unmute : messages.mute)} (${ctrlKey}+Shift+M)`} | 193 | data-tip={`${intl.formatMessage(isAppMuted ? messages.unmute : messages.mute)} (${ctrlKey}+${shiftKey}+M)`} |
194 | > | 194 | > |
195 | <i className={`mdi mdi-bell${isAppMuted ? '-off' : ''}`} /> | 195 | <i className={`mdi mdi-bell${isAppMuted ? '-off' : ''}`} /> |
196 | </button> | 196 | </button> |