Finish fixing up Avatar using URI
This commit is contained in:
parent
44d40625fe
commit
fd6320b136
6 changed files with 10 additions and 48 deletions
|
@ -119,12 +119,7 @@ impl ProjectSharedNotification {
|
|||
|
||||
fn render_owner(&self) -> impl Element {
|
||||
h_stack()
|
||||
.children(
|
||||
self.owner
|
||||
.avatar
|
||||
.clone()
|
||||
.map(|avatar| Avatar::data(avatar.clone())),
|
||||
)
|
||||
.child(Avatar::new(self.owner.avatar_uri.clone()))
|
||||
.child(
|
||||
v_stack()
|
||||
.child(Label::new(self.owner.github_login.clone()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue