Add keyboard shortcut to match other MacOS Chat Apps (#4719)

MacOS Messages and WhatsApp (amongst other messaging apps) use this Cmd + Shift + [/] to switch between convos.  Would be great to have that in Signal as well.
This commit is contained in:
david yang 2021-02-04 17:36:39 -05:00 committed by GitHub
parent 6f861e0827
commit 2501584db6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1146,6 +1146,7 @@ type WhatIsThis = import('./window.d').WhatIsThis;
// up/previous
if (
(!isSearching && optionOrAlt && !shiftKey && key === 'ArrowUp') ||
(!isSearching && commandOrCtrl && shiftKey && key === '[') ||
(!isSearching && ctrlKey && shiftKey && key === 'Tab')
) {
const unreadOnly = false;
@ -1165,6 +1166,7 @@ type WhatIsThis = import('./window.d').WhatIsThis;
// down/next
if (
(!isSearching && optionOrAlt && !shiftKey && key === 'ArrowDown') ||
(!isSearching && commandOrCtrl && shiftKey && key === ']') ||
(!isSearching && ctrlKey && key === 'Tab')
) {
const unreadOnly = false;