1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

net: don't force singleActive on VPNs

fixes #574
This commit is contained in:
bbedward
2025-10-28 08:54:56 -04:00
parent 53507ef56b
commit 116c421492
3 changed files with 51 additions and 17 deletions

View File

@@ -37,7 +37,7 @@ Singleton {
property var savedConnections: []
property var ssidToConnectionName: ({})
property var wifiSignalIcon: {
if (!wifiConnected || networkStatus !== "wifi") {
if (!wifiConnected) {
return "wifi_off"
}
if (wifiSignalStrength >= 50) {
@@ -763,7 +763,7 @@ Singleton {
})
}
function connectVpn(uuidOrName, singleActive = true) {
function connectVpn(uuidOrName, singleActive = false) {
if (!vpnAvailable || vpnIsBusy) return
vpnIsBusy = true