summaryrefslogtreecommitdiffstats
path: root/examples/clock/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/clock/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs
index c307fab9..fcad5d34 100644
--- a/examples/clock/src/main.rs
+++ b/examples/clock/src/main.rs
@@ -6,8 +6,7 @@ use iced::{
};
pub fn main() -> iced::Result {
- iced::sandbox(Clock::update, Clock::view)
- .title("Clock - Iced")
+ iced::sandbox("Clock - Iced", Clock::update, Clock::view)
.subscription(Clock::subscription)
.theme(Clock::theme)
.antialiased()