Do list group'badges in a nicer way

This commit is contained in:
EXtremeExploit
2023-03-03 16:14:19 -03:00
parent d722e09b2c
commit e23db62386
3 changed files with 10 additions and 17 deletions

View File

@ -68,11 +68,6 @@ namespace osu.Game.Users
username.Anchor = Anchor.CentreLeft;
username.Origin = Anchor.CentreLeft;
}),
CreateGroupBadges().With(badges =>
{
badges.Anchor = Anchor.CentreLeft;
badges.Origin = Anchor.CentreLeft;
})
}
},
new FillFlowContainer
@ -100,6 +95,16 @@ namespace osu.Game.Users
}
};
if (User.Groups != null)
{
details.Add(new GroupBadgeFlow
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
User = { Value = User }
});
}
if (User.IsSupporter)
{
details.Add(new SupporterIcon