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
|
@ -24,7 +24,7 @@ pub fn render_user_notification<V: View, A: Action + Clone>(
|
|||
.with_child(
|
||||
Flex::row()
|
||||
.with_children(user.avatar.clone().map(|avatar| {
|
||||
Image::new(avatar)
|
||||
Image::from_data(avatar)
|
||||
.with_style(theme.header_avatar)
|
||||
.aligned()
|
||||
.constrained()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue