From 986b63391a1ee44fc1884f47caecf85a9d78eea7 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sun, 12 Oct 2025 21:30:09 +0800 Subject: [PATCH] fix: update visibility of auth window based on clean state --- crates/auth/src/webview/webview_auth.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/auth/src/webview/webview_auth.rs b/crates/auth/src/webview/webview_auth.rs index 4f1ec71..67570dd 100644 --- a/crates/auth/src/webview/webview_auth.rs +++ b/crates/auth/src/webview/webview_auth.rs @@ -103,7 +103,8 @@ impl<'a> WebviewAuthenticator<'a> { .title("GlobalProtect Login") .inner_size(900.0, 650.0 + title_bar_height) .focused(true) - .visible(false) + // when clean is true, the window is expected to be shown because the cookies are cleared + .visible(self.clean) .center() .build()?;