Change ShowMoreButton hide logic

This commit is contained in:
Andrei Zavatski 2020-01-31 09:46:35 +03:00
parent 91f7bc6d45
commit 4a444face1

View File

@ -181,10 +181,12 @@ namespace osu.Game.Overlays.Comments
moreButton.Current.Value = response.TopLevelCount - loadedTopLevelComments;
moreButton.IsLoading = false;
}
else
{
moreButton.Hide();
}
commentCounter.Current.Value = response.Total;
moreButton.FadeTo(response.HasMore ? 1 : 0);
}, loadCancellation.Token);
}