Skip to content

Commit

Permalink
Handle changes to the automatic download setting immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Sep 2, 2024
1 parent 872d14e commit 7b13943
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ private void load(OsuConfigManager config)
{
operationInProgress = ongoingOperationTracker.InProgress.GetBoundCopy();
operationInProgress.BindValueChanged(_ => updateState());

automaticallyDownload = config.GetBindable<bool>(OsuSetting.AutomaticallyDownloadMissingBeatmaps);
automaticallyDownload.BindValueChanged(_ => Scheduler.AddOnce(checkForAutomaticDownload));
}

protected override void LoadComplete()
Expand Down

0 comments on commit 7b13943

Please sign in to comment.