internal IEnumerator RefreshButtonFlow() { Loader.Instance.RefreshSongs(); yield return(new WaitUntil(() => Loader.AreSongsLoaded == true)); PlaylistCollectionOverride.refreshPlaylists(); }
internal IEnumerator RefreshButtonFlow() { if (!Loader.AreSongsLoading) { Loader.Instance.RefreshSongs(); } yield return(new WaitUntil(() => Loader.AreSongsLoaded == true)); int numPlaylists = PlaylistCollectionOverride.refreshPlaylists(); _progressBar.enabled = true; _progressBar.ShowMessage(string.Format("\n{0} playlists loaded.", numPlaylists), MESSAGE_TIME); }
internal void RefreshButtonFlow() { PlaylistCollectionOverride.refreshPlaylists(); }