From 70a739c2182213035da465c7c6aa4bd5f574674f Mon Sep 17 00:00:00 2001 From: Jackson Goode Date: Fri, 27 Sep 2024 13:39:28 -0700 Subject: [PATCH] Linting --- psst-gui/src/main.rs | 3 +-- psst-gui/src/ui/mod.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/psst-gui/src/main.rs b/psst-gui/src/main.rs index 7ccc63e4..650693e0 100644 --- a/psst-gui/src/main.rs +++ b/psst-gui/src/main.rs @@ -62,9 +62,8 @@ fn main() { let window = ui::account_setup_window(); if state.config.kiosk_mode { - let window = ui::kiosk_setup_window(); + let window = ui::kiosk_setup_window(); } else { - } delegate = Delegate::with_preferences(window.id); diff --git a/psst-gui/src/ui/mod.rs b/psst-gui/src/ui/mod.rs index ed686629..e0be42c2 100644 --- a/psst-gui/src/ui/mod.rs +++ b/psst-gui/src/ui/mod.rs @@ -84,7 +84,7 @@ pub fn preferences_window() -> WindowDesc { } else { win_size }; - + let win = WindowDesc::new(preferences_widget()) .title("Preferences") .window_size(win_size)