From 3c8a428c195da414171bd6e9064f26c4a66ffe61 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Thu, 12 Feb 2026 19:07:31 +0000 Subject: task-085: upgrade iced 0.13.1 -> 0.14.0 --- schist_desktop_gui/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'schist_desktop_gui/src/main.rs') diff --git a/schist_desktop_gui/src/main.rs b/schist_desktop_gui/src/main.rs index a5749d3..3f18452 100644 --- a/schist_desktop_gui/src/main.rs +++ b/schist_desktop_gui/src/main.rs @@ -24,11 +24,11 @@ use crate::{ fn main() -> anyhow::Result<()> { let cache = get_cache().unwrap_or_else(|_| Cache::default()); let config = Config::default(); - iced::application("Schist", Gui::update, Gui::view) + iced::application(move || Gui::new(&cache), Gui::update, Gui::view) .settings(make_settings(&config.clone())) .subscription(gui::subscription) .theme(make_theme) .window(make_window_settings(&config.clone())) - .run_with(move || Gui::new(&cache)) + .run() .context("Failed to run Schist GUI") } -- cgit v1.2.3