feat(Settings): added M as mute toggle shortcut

This commit is contained in:
Botzy 2025-08-27 14:09:33 +03:00
parent 814a0af1a8
commit 4a16680e55
3 changed files with 10 additions and 5 deletions

8
package-lock.json generated
View file

@ -36,7 +36,7 @@
"react-i18next": "^15.1.3",
"react-is": "18.3.1",
"spatial-navigation-polyfill": "github:Stremio/spatial-navigation#64871b1422466f5f45d24ebc8bbd315b2ebab6a6",
"stremio-translations": "github:Stremio/stremio-translations#abe7684165a031755e9aee39da26daa806ba7824",
"stremio-translations": "github:Stremio/stremio-translations#d0abbc1c93d30e597a7d50517fa404844cbcd5c8",
"url": "0.11.4",
"use-long-press": "^3.2.0"
},
@ -13433,9 +13433,9 @@
}
},
"node_modules/stremio-translations": {
"version": "1.44.12",
"resolved": "git+ssh://git@github.com/Stremio/stremio-translations.git#abe7684165a031755e9aee39da26daa806ba7824",
"integrity": "sha512-bMpdJTFZqgemdoOQAARMPG7XaFgeu/zW/0vHmzavTM9DYUNIGuQaTC5RbVXIIII00RLOXoGLYf+dsxRVFiS9mA==",
"version": "1.44.13",
"resolved": "git+ssh://git@github.com/Stremio/stremio-translations.git#d0abbc1c93d30e597a7d50517fa404844cbcd5c8",
"integrity": "sha512-FBPYWZx0Z+FFtJkfI7jhY+gAP7pxz0WHe99B5JxH5GeEEIwlYKlcT79sDKVkkhMjBH4Pe492tnV5DWEC7VARAA==",
"license": "MIT"
},
"node_modules/string_decoder": {

View file

@ -41,7 +41,7 @@
"react-i18next": "^15.1.3",
"react-is": "18.3.1",
"spatial-navigation-polyfill": "github:Stremio/spatial-navigation#64871b1422466f5f45d24ebc8bbd315b2ebab6a6",
"stremio-translations": "github:Stremio/stremio-translations#abe7684165a031755e9aee39da26daa806ba7824",
"stremio-translations": "github:Stremio/stremio-translations#d0abbc1c93d30e597a7d50517fa404844cbcd5c8",
"url": "0.11.4",
"use-long-press": "^3.2.0"
},

View file

@ -41,6 +41,11 @@ const Shortcuts = forwardRef<HTMLDivElement>((_, ref) => {
<kbd></kbd>
</div>
</Option>
<Option label={'SETTINGS_SHORTCUT_MUTE'}>
<div className={styles['shortcut-container']}>
<kbd>M</kbd>
</div>
</Option>
<Option label={'SETTINGS_SHORTCUT_MENU_SUBTITLES'}>
<div className={styles['shortcut-container']}>
<kbd>S</kbd>