summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-02 01:48:42 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-02 01:48:42 +0100
commite78d7f0e51b6f468fe64b4412c67a9de31d9215c (patch)
tree5236b9a4512308891bdab86058e5e8eb34290dbb /examples
parente14a6f76e92c29745dae0d29344b1cee6915b16c (diff)
downloadiced-e78d7f0e51b6f468fe64b4412c67a9de31d9215c.tar.gz
iced-e78d7f0e51b6f468fe64b4412c67a9de31d9215c.tar.bz2
iced-e78d7f0e51b6f468fe64b4412c67a9de31d9215c.zip
Add `on_resize` handler to `pop` widget :tada:
Diffstat (limited to 'examples')
-rw-r--r--examples/gallery/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gallery/src/main.rs b/examples/gallery/src/main.rs
index 9092cf9e..290fa6a0 100644
--- a/examples/gallery/src/main.rs
+++ b/examples/gallery/src/main.rs
@@ -206,7 +206,7 @@ fn card<'a>(
.into()
} else {
pop(card)
- .on_show(Message::ImagePoppedIn(metadata.id))
+ .on_show(|_| Message::ImagePoppedIn(metadata.id))
.into()
}
}