Skip to content

Commit

Permalink
Update song count text on folder after pressing refresh. (#294)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Peterson <jonathan.peterson@hexagon.com>
  • Loading branch information
PixelatedPope and Jonathan Peterson committed May 10, 2023
1 parent 16a2f56 commit c8075ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Assets/Script/Settings/SettingsDirectory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ public void Browse() {
});
}

public void Refresh() {
public async void Refresh() {
LoadingManager.Instance.QueueSongFolderRefresh(PathsReference[index]);
LoadingManager.Instance.StartLoad().Forget();
await LoadingManager.Instance.StartLoad();
RefreshText();
}
}
}

0 comments on commit c8075ed

Please sign in to comment.