make passwordVisible more local

This commit is contained in:
end-4
2025-03-29 09:29:49 +01:00
parent 53072cb815
commit 043ee5974e
@@ -19,7 +19,6 @@ const MATERIAL_SYMBOL_SIGNAL_STRENGTH = {
let connectAttempt = '';
let networkAuth = null;
let networkAuthSSID = null;
let passwordVisible = false;
const WifiNetwork = (accessPoint) => {
const networkStrength = MaterialIcon(MATERIAL_SYMBOL_SIGNAL_STRENGTH[accessPoint.iconName], 'hugerass')
@@ -99,6 +98,7 @@ const NetResource = (icon, command) => {
}
const CurrentNetwork = () => {
let passwordVisible = false;
let authLock = false;
let timeoutId = null;