From 281aab2a7ec0f668ef7fde0cafc6b3caec103c69 Mon Sep 17 00:00:00 2001 From: Fabrizio Iannetti Date: Sun, 23 Jun 2024 09:59:45 +0200 Subject: [PATCH] adapto iced: change program() call to application() --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9ead783..b2aac75 100644 --- a/src/main.rs +++ b/src/main.rs @@ -63,7 +63,7 @@ pub fn main() -> iced::Result { }; let app_factory = move || { CalendarApp::with_files(calendar_files.clone())}; - iced::program("Calendar", CalendarApp::update, CalendarApp::view).run_with(app_factory) + iced::application("Calendar", CalendarApp::update, CalendarApp::view).run_with(app_factory) } fn set_up_logger() {