summaryrefslogtreecommitdiffstats
path: root/examples/gallery/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gallery/src/main.rs')
-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()
}
}