Fix playlist items showing download button briefly during initial local presence checks

This commit is contained in:
Dean Herbert
2022-09-08 16:48:43 +09:00
parent 85ce1bcea9
commit ed81297611
8 changed files with 21 additions and 8 deletions

View File

@ -5,6 +5,7 @@ namespace osu.Game.Online
{
public enum DownloadState
{
Unknown,
NotDownloaded,
Downloading,
Importing,

View File

@ -114,6 +114,7 @@ namespace osu.Game.Online.Rooms
switch (downloadTracker.State.Value)
{
case DownloadState.Unknown:
case DownloadState.NotDownloaded:
availability.Value = BeatmapAvailability.NotDownloaded();
break;