summaryrefslogtreecommitdiffstats
path: root/examples/tour
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tour')
-rw-r--r--examples/tour/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index c373502e..23c4040d 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -16,8 +16,7 @@ pub fn main() -> iced::Result {
#[cfg(not(target_arch = "wasm32"))]
tracing_subscriber::fmt::init();
- iced::sandbox(Tour::update, Tour::view)
- .title(Tour::title)
+ iced::sandbox(Tour::title, Tour::update, Tour::view)
.centered()
.run()
}