Skip to content

Commit

Permalink
Merge 1.19 to main (#716)
Browse files Browse the repository at this point in the history
fix: badger.subscribeToSettings Failing With power_save_status & ShareWatchHistoryStatus Keys (#712)

* fix: badger.subscribeToSettings Failing With power_save_status & ShareWatchHistoryStatus Keys
  • Loading branch information
Vinodsathyaseelan authored Jan 23, 2025
1 parent 71d659a commit bcde45f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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", "1.16.rc" ]
branches: [ "main", "1.19.rc" ]

env:
CARGO_TERM_COLOR: always
Expand Down
3 changes: 1 addition & 2 deletions core/main/src/processor/settings_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ impl SettingsProcessor {
}
}
SettingKey::ShareWatchHistory => {
if Self::subscribe_event(
if !Self::subscribe_event(
state,
ctx.clone(),
EVENT_SHARE_WATCH_HISTORY,
Expand All @@ -303,7 +303,6 @@ impl SettingsProcessor {
}
SettingKey::PowerSaving | SettingKey::LegacyMiniGuide => {
warn!("{} Not implemented", key.to_string());
resp = false
}
}
}
Expand Down

0 comments on commit bcde45f

Please sign in to comment.