Avoid public exposure

This commit is contained in:
Dean Herbert
2019-06-27 12:11:04 +09:00
parent cc9a7839c9
commit 32c3bee71b
2 changed files with 13 additions and 11 deletions

View File

@ -437,12 +437,12 @@ namespace osu.Game.Tests.Visual.Online
private void downloadAssert(bool shown)
{
AddAssert($"is download button {(shown ? "shown" : "hidden")}", () => overlay.IsDownloadButtonsShown == shown);
AddAssert($"is download button {(shown ? "shown" : "hidden")}", () => overlay.DownloadButtonsVisible == shown);
}
private class TestBeatmapSetOverlay : BeatmapSetOverlay
{
public bool IsDownloadButtonsShown => Header.DownloadButtonsContainer.Any();
public bool DownloadButtonsVisible => Header.DownloadButtonsVisibile;
}
}
}