mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
fix hotkey for macos
This commit is contained in:
parent
492231ce01
commit
107997f40b
1 changed files with 3 additions and 1 deletions
|
|
@ -58,6 +58,8 @@ import { searchModalAtom } from '../../state/searchModal';
|
|||
import { useKeyDown } from '../../hooks/useKeyDown';
|
||||
import navigation from '../../../client/state/navigation';
|
||||
import { useMediaAuthentication } from '../../hooks/useMediaAuthentication';
|
||||
import { KeySymbol } from '../../utils/key-symbol';
|
||||
import { isMacOS } from '../../utils/user-agent';
|
||||
|
||||
enum SearchRoomType {
|
||||
Rooms = '#',
|
||||
|
|
@ -409,7 +411,7 @@ export function Search({ requestClose }: SearchProps) {
|
|||
<Box shrink="No" justifyContent="Center" style={{ padding: config.space.S200 }}>
|
||||
<Text size="T200" priority="300">
|
||||
Type <b>#</b> for rooms, <b>@</b> for DMs and <b>*</b> for spaces. Hotkey:{' '}
|
||||
<b>Ctrl + k</b>
|
||||
<b>{isMacOS() ? KeySymbol.Command : 'Ctrl'} + k</b>
|
||||
</Text>
|
||||
</Box>
|
||||
</Modal>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue