1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

hide supporter promo section for supporter

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-08-10 14:56:54 +07:00
parent 3fb2ca4f4a
commit 93408c636b
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -71,12 +71,16 @@ namespace osu.Game.Overlays.Changelog
Colour = colourProvider.Background6, Colour = colourProvider.Background6,
Margin = new MarginPadding { Top = 30 }, Margin = new MarginPadding { Top = 30 },
}, },
new ChangelogSupporterPromo(), new ChangelogSupporterPromo
{
Alpha = api.LocalUser.Value.IsSupporter ? 0 : 1,
},
new Box new Box
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = 2, Height = 2,
Colour = colourProvider.Background6, Colour = colourProvider.Background6,
Alpha = api.LocalUser.Value.IsSupporter ? 0 : 1,
}, },
comments = new CommentsContainer() comments = new CommentsContainer()
}; };