aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/Sidebar.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-10 07:52:45 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-10 07:52:45 +0530
commitcfaa5ee25c094a96e106ce0bf657f8cd6a59b867 (patch)
treef3bc6623e181d849440339ad84b01a285a8b4c5a /src/components/layout/Sidebar.js
parent5.6.1-nightly.20 [skip ci] (diff)
downloadferdium-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.js6
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';
6import { Link } from 'react-router'; 6import { Link } from 'react-router';
7 7
8import Tabbar from '../services/tabs/Tabbar'; 8import Tabbar from '../services/tabs/Tabbar';
9import { ctrlKey, isMac } from '../../environment'; 9import { ctrlKey, isMac, shiftKey } from '../../environment';
10import { workspaceStore } from '../../features/workspaces'; 10import { workspaceStore } from '../../features/workspaces';
11import { todosStore } from '../../features/todos'; 11import { todosStore } from '../../features/todos';
12import { todoActions } from '../../features/todos/actions'; 12import { 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>