Add png image loading to gpui
add zed logo into welcome experience Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
f89f33347d
commit
4c179875ab
11 changed files with 76 additions and 33 deletions
|
@ -108,7 +108,7 @@ impl ProjectSharedNotification {
|
|||
let theme = &cx.global::<Settings>().theme.project_shared_notification;
|
||||
Flex::row()
|
||||
.with_children(self.owner.avatar.clone().map(|avatar| {
|
||||
Image::new(avatar)
|
||||
Image::from_data(avatar)
|
||||
.with_style(theme.owner_avatar)
|
||||
.aligned()
|
||||
.boxed()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue