From e78d7f0e51b6f468fe64b4412c67a9de31d9215c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 2 Feb 2025 01:48:42 +0100 Subject: Add `on_resize` handler to `pop` widget :tada: --- examples/gallery/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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() } } -- cgit