Skip to content

Commit

Permalink
accessibility.onClosedCaptionsSettingsChanged: Fixed missing event wh…
Browse files Browse the repository at this point in the history
…en closedcaptions.setPreferredLanguages is called. (#414)
  • Loading branch information
pahearn73 authored Feb 5, 2024
1 parent d243c6d commit ce9541f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "1.2.0.rc" ]

env:
CARGO_TERM_COLOR: always
Expand Down
5 changes: 4 additions & 1 deletion core/sdk/src/api/storage_property.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,10 @@ const PROPERTY_PREFERRED_AUDIO_LANGUAGES: PropertyData = PropertyData {
const PROPERTY_CC_PREFERRED_LANGUAGES: PropertyData = PropertyData {
key: KEY_PREFERRED_AUDIO_LANGUAGES,
namespace: NAMESPACE_CLOSED_CAPTIONS,
event_names: Some(&[EVENT_CC_PREFERRED_LANGUAGES]),
event_names: Some(&[
EVENT_CC_PREFERRED_LANGUAGES,
EVENT_CLOSED_CAPTIONS_SETTINGS_CHANGED,
]),
};

#[derive(Debug)]
Expand Down

0 comments on commit ce9541f

Please sign in to comment.