Fix mistake unwrap in PopupMenu.

This commit is contained in:
Jason Lee 2024-08-01 15:43:05 +08:00
parent 3dd149e711
commit 4a5b387b40

View file

@ -271,7 +271,7 @@ impl Render for PopupMenu {
if let Some(icon) = icon {
this.child(icon.clone())
} else {
this.child(icon_placeholder.clone().unwrap())
this.children(icon_placeholder.clone())
}
}))
})