1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Revert "Fix button being recreated on importing state"

This reverts commit c9967f7b74.
This commit is contained in:
Joseph Madamba 2021-04-29 14:24:29 -07:00
parent c9967f7b74
commit 9952a5bfdb

View File

@ -268,13 +268,11 @@ namespace osu.Game.Overlays.BeatmapSet
break;
case DownloadState.Downloading:
case DownloadState.Importing:
// temporary to avoid showing two buttons for maps with novideo. will be fixed in new beatmap overlay design.
downloadButtonsContainer.Child = new HeaderDownloadButton(BeatmapSet.Value);
break;
case DownloadState.Importing:
break;
default:
downloadButtonsContainer.Child = new HeaderDownloadButton(BeatmapSet.Value);
if (BeatmapSet.Value.OnlineInfo.HasVideo)