-
Notifications
You must be signed in to change notification settings - Fork 8
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
Changing the chirp profile color for linked LAOs members #1963
Conversation
Pull reviewers statsStats of the last 30 days for popstellar:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Just 1 comment
// The chirp of the other LAO should be gray | ||
val profile2 = view2.findViewById<ImageView>(R.id.social_media_profile) | ||
Assert.assertNotNull(profile2) | ||
Assert.assertEquals(-8355712, profile2.imageTintList?.defaultColor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to use the android color resource here instead of hardcoding the value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it will be cleaner
Just a quick question : can more than 2 LAO be linked? if yes, what is the color rule? Any LAO not being ours would appear grey, or should all LAO be differentiable? |
Yes more than two LAOs can be linked. For now blue represents our LAO and grey represents any other LAO |
Quality Gate passed for 'PoP - PoPCHA-Web-Client'Issues Measures |
Quality Gate passed for 'PoP - Be2-Scala'Issues Measures |
Quality Gate passed for 'PoP - Be1-Go'Issues Measures |
Quality Gate passed for 'PoP - Fe2-Android'Issues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
When two (or more) LAOs are linked with federation and they send chirps, chirps from the user's LAO are displayed with a blue profile and chirps from another LAO are displayed with gray profile.