From 1a9dac528e347e90605f0bef70d5fd480fc46f2d Mon Sep 17 00:00:00 2001 From: Lars Berger Date: Sat, 26 Oct 2024 20:14:42 +0800 Subject: [PATCH] fix: incorrect variable name in windows-only block --- packages/desktop/src/widget_factory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/desktop/src/widget_factory.rs b/packages/desktop/src/widget_factory.rs index 1f5defa9..9d78e295 100644 --- a/packages/desktop/src/widget_factory.rs +++ b/packages/desktop/src/widget_factory.rs @@ -238,7 +238,7 @@ impl WidgetFactory { let _ = window .as_ref() .window() - .set_tool_window(!config.shown_in_taskbar); + .set_tool_window(!widget_config.shown_in_taskbar); // On MacOS, we need to set the window as above the menu bar for it // to truly be always on top.