adapto iced: change program() call to application()
This commit is contained in:
parent
5a964fe11a
commit
281aab2a7e
|
@ -63,7 +63,7 @@ pub fn main() -> iced::Result {
|
||||||
};
|
};
|
||||||
|
|
||||||
let app_factory = move || { CalendarApp::with_files(calendar_files.clone())};
|
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() {
|
fn set_up_logger() {
|
||||||
|
|
Loading…
Reference in New Issue