diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gallery/src/main.rs | 2 |
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() } } |