Update vulnerable dependencies and migrate to Iced 0.14.

This commit is contained in:
2026-08-09 17:16:26 +02:00
parent c757314c91
commit 520e1d86ea
38 changed files with 1105 additions and 1237 deletions

View File

@@ -27,14 +27,19 @@ fn main() -> anyhow::Result<()> {
iced::window::icon::from_file_data(include_bytes!("../assets/app-icons/bds.png"), None)
.expect("bundled application icon must be valid");
iced::application("bDS", BdsApp::update, BdsApp::view)
iced::application(BdsApp::new, BdsApp::update, BdsApp::view)
.title("bDS")
.subscription(BdsApp::subscription)
.theme(|_| inputs::app_theme())
.theme(app_theme)
.window(desktop_window_settings(Some(icon)))
.run_with(BdsApp::new)?;
.run()?;
Ok(())
}
fn app_theme(_: &BdsApp) -> iced::Theme {
inputs::app_theme()
}
fn desktop_window_settings(icon: Option<iced::window::Icon>) -> iced::window::Settings {
iced::window::Settings {
size: iced::Size::new(1200.0, 800.0),