1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Hide ShowMore button if there's nothing to load

This commit is contained in:
Andrei Zavatski 2021-05-09 04:57:24 +03:00
parent 342c5a5938
commit dde9fd28e6

View File

@ -100,7 +100,7 @@ namespace osu.Game.Overlays.News.Displays
{
content.Add(loaded);
showMore.IsLoading = false;
showMore.Show();
showMore.Alpha = lastCursor == null ? 0 : 1;
}, (cancellationToken = new CancellationTokenSource()).Token);
}