Skip to content

Commit

Permalink
Show subtitle toggle bind notif only if non-empty subtitles are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Apr 20, 2024
1 parent afc8fd7 commit eec3d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/src/services/binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ export default class Binding {

this.mobileVideoOverlayController.updateModel();

if (!isMobile) {
if (!isMobile && subtitles.length > 0) {
this.settings
.get(['streamingDisplaySubtitles', 'keyBindSet'])
.then(({ streamingDisplaySubtitles, keyBindSet }) => {
Expand Down

0 comments on commit eec3d43

Please sign in to comment.