internal IEnumerator RefreshButtonFlow()
        {
            Loader.Instance.RefreshSongs();
            yield return(new WaitUntil(() => Loader.AreSongsLoaded == true));

            PlaylistCollectionOverride.refreshPlaylists();
        }
示例#2
0
        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();
 }