1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

CI fixes.

This commit is contained in:
DrabWeb 2017-09-08 14:25:41 -03:00
parent ce68b6661e
commit d95940ed5e
2 changed files with 2 additions and 3 deletions

View File

@ -12,10 +12,9 @@ namespace osu.Desktop.Tests.Visual
{
public override string Description => "BeatmapDetails tab of BeatmapDetailArea";
private readonly BeatmapDetails details;
public TestCaseBeatmapDetails()
{
BeatmapDetails details;
Add(details = new BeatmapDetails
{
RelativeSizeAxes = Axes.Both,

View File

@ -216,7 +216,7 @@ namespace osu.Game.Screens.Select
private void displayMetrics(BeatmapMetrics metrics, bool failOnMissing = true)
{
var hasRatings = metrics?.Ratings?.Any() ?? false;
var hasRetriesFails = (metrics?.Retries?.Any() ?? false) && (metrics?.Fails?.Any() ?? false);
var hasRetriesFails = (metrics?.Retries?.Any() ?? false) && (metrics.Fails?.Any() ?? false);
if (failOnMissing) loading.Hide();