From bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 16 Mar 2024 16:12:07 +0100 Subject: Make `sandbox` helper take a `title` as well --- examples/clock/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/clock/src') 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() -- cgit