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
1 changed files with 1 additions and 3 deletions

View File

@ -268,13 +268,11 @@ private void updateDownloadButtons()
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)