adapto iced: change program() call to application()

This commit is contained in:
Fabrizio Iannetti 2024-06-23 09:59:45 +02:00
parent 5a964fe11a
commit 281aab2a7e

View File

@ -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() {