-
Notifications
You must be signed in to change notification settings - Fork 0
[PBIOS-701]Updates to PBAvatar #530
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
base: main
Are you sure you want to change the base?
Conversation
@@ -63,7 +63,7 @@ public struct PBAvatar: View { | |||
|
|||
|
|||
if let status = self.status { | |||
PBOnlineStatus(status: status, size: statusSize, variant: .border) | |||
PBOnlineStatus(status: status, size: statusSize ?? avatarStatusSize, variant: .border) |
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.
What is going to happen when the Online status get a nil value here?
Is that the expected behavior?
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.
@isismsilva
I have the default set to medium, if it's nil. If you think it should default to something else or this is incorrect, lmk
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.
I think this needs to be a design decision. Let's ask Jess to make sure how it is supposed to work.
What does this PR do?
[PBIOS-701]Updates to PBAvatar
https://runway.powerhrg.com/backlog_items/PBIOS-701
Checklist
breaking
,bug
,improvement
,documentation
, orenhancement
. See Labels for descriptions.Ready for Testing
/Ready for Release