Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix supporter icon appearing incorrectly in user profile header #1747

Merged
merged 2 commits into from
Dec 25, 2017

Conversation

Aergwyn
Copy link
Member

@Aergwyn Aergwyn commented Dec 25, 2017

I noticed 2 problems with it.
a) It was missing the background.
b) It was always showing regardless if you were supporter or not.

also it doesn't show up on profiles without supporter anymore
private void checkSupporterTag(bool isSupporter)
{
AddUntilStep(() => profile.Header.User != null, "wait for load");
if(isSupporter)

This comment was marked as off-topic.

@@ -328,7 +310,8 @@ private void loadUser()
Depth = float.MaxValue,
}, coverContainer.Add);

if (user.IsSupporter) supporterTag.Show();
if (user.IsSupporter)
SupporterTag.Show();

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@peppy peppy added this to the December 2017 milestone Dec 25, 2017
add missing line
@peppy peppy changed the title Fix supporter icon in profile header Fix supporter icon appearing incorrectly in user profile header Dec 25, 2017
@peppy peppy merged commit 3670901 into ppy:master Dec 25, 2017
@peppy
Copy link
Sponsor Member

peppy commented Dec 25, 2017

👍

@Aergwyn Aergwyn deleted the fix-profile-supporter-icon branch December 25, 2017 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants