fix: update visibility of auth window based on clean state

This commit is contained in:
Kevin Yue committed 2025-10-12 22:04:16 +08:00
1 parent 9b180ad90c
commit 986b63391a
1 file changed
+2 -1
+2 -1
View File
@@ -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()?;