From 53072cb8150c3344612cdd51743c5b22c1c47c1c Mon Sep 17 00:00:00 2001 From: Satoxyan Date: Sat, 29 Mar 2025 14:05:57 +0700 Subject: [PATCH] wifinetworks:make password vissibility off after authEntry hide --- .config/ags/modules/sideright/centermodules/wifinetworks.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/ags/modules/sideright/centermodules/wifinetworks.js b/.config/ags/modules/sideright/centermodules/wifinetworks.js index 3e856c53c..665ae1498 100644 --- a/.config/ags/modules/sideright/centermodules/wifinetworks.js +++ b/.config/ags/modules/sideright/centermodules/wifinetworks.js @@ -155,6 +155,8 @@ const CurrentNetwork = () => { label: getString('Cancel'), hpack: 'end', onClicked: () => { + passwordVisible = false; + authEntry.visibility = false; networkAuth.revealChild = false; authFailed.revealChild = false; networkAuthSSID.label = ''; @@ -204,6 +206,8 @@ const CurrentNetwork = () => { networkAuth.revealChild = false; // Hide input if successful authFailed.revealChild = false; // Hide failed message if successful self.text = ''; // Empty input for retry + passwordVisible = false; + authEntry.visibility = false; }) .catch(() => { // Connection failed, show password input again @@ -307,6 +311,8 @@ const CurrentNetwork = () => { } timeoutId = setTimeout(() => { authLock = false; + passwordVisible = false; + authEntry.visibility = false; self.revealChild = false; authFailed.revealChild = false; Network.wifi.state = 'activated';