mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
fix: update visibility of auth window based on clean state
This commit is contained in:
1 file changed
+2
-1
@@ -103,7 +103,8 @@ impl<'a> WebviewAuthenticator<'a> {
|
|||||||
.title("GlobalProtect Login")
|
.title("GlobalProtect Login")
|
||||||
.inner_size(900.0, 650.0 + title_bar_height)
|
.inner_size(900.0, 650.0 + title_bar_height)
|
||||||
.focused(true)
|
.focused(true)
|
||||||
.visible(false)
|
// when clean is true, the window is expected to be shown because the cookies are cleared
|
||||||
|
.visible(self.clean)
|
||||||
.center()
|
.center()
|
||||||
.build()?;
|
.build()?;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user