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/download_progress/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/download_progress') diff --git a/examples/download_progress/src/main.rs b/examples/download_progress/src/main.rs index bddf0d28..06ebb9c6 100644 --- a/examples/download_progress/src/main.rs +++ b/examples/download_progress/src/main.rs @@ -4,9 +4,8 @@ use iced::widget::{button, column, container, progress_bar, text, Column}; use iced::{Alignment, Element, Length, Subscription}; pub fn main() -> iced::Result { - iced::sandbox(Example::update, Example::view) + iced::sandbox("Download Progress - Iced", Example::update, Example::view) .subscription(Example::subscription) - .title("Download Progress - Iced") .run() } -- cgit