Add on_resize handler to pop widget 🎉

This commit is contained in:
Héctor Ramón Jiménez 2025-02-02 01:48:42 +01:00
parent e14a6f76e9
commit e78d7f0e51
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 36 additions and 9 deletions

View file

@ -206,7 +206,7 @@ fn card<'a>(
.into()
} else {
pop(card)
.on_show(Message::ImagePoppedIn(metadata.id))
.on_show(|_| Message::ImagePoppedIn(metadata.id))
.into()
}
}