mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
More simplifies + fix test
This commit is contained in:
@ -220,7 +220,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
if (BeatmapSet.Value.OnlineInfo.Availability?.DownloadDisabled ?? false)
|
||||
{
|
||||
DownloadButtonsContainer.RemoveAll(x => true);
|
||||
DownloadButtonsContainer.Clear();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -228,7 +228,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
case DownloadState.LocallyAvailable:
|
||||
// temporary for UX until new design is implemented.
|
||||
DownloadButtonsContainer.Child = new osu.Game.Overlays.Direct.DownloadButton(BeatmapSet.Value)
|
||||
DownloadButtonsContainer.Child = new Direct.DownloadButton(BeatmapSet.Value)
|
||||
{
|
||||
Width = 50,
|
||||
RelativeSizeAxes = Axes.Y
|
||||
|
Reference in New Issue
Block a user