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:
parent
3fb2ca4f4a
commit
93408c636b
@ -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()
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user