VPN: Minimal support for wireguard + removed opening non existing panel.

This commit is contained in:
ItsLemmy
2025-11-23 15:11:33 -05:00
parent 2f92445e8a
commit e3c722fec8
2 changed files with 1 additions and 2 deletions

View File

@@ -121,7 +121,6 @@ Item {
autoHide: false
forceOpen: !isBarVertical && root.displayMode === "alwaysShow"
forceClose: isBarVertical || root.displayMode === "alwaysHide" || !pill.text
onClicked: PanelService.getPanel("vpnPanel", screen)?.toggle(this)
onRightClicked: {
var popupMenuWindow = PanelService.getPopupMenuWindow(screen);
if (popupMenuWindow) {

View File

@@ -159,7 +159,7 @@ Singleton {
continue;
}
const type = remaining.substring(secondLastColonIdx + 1);
if (type !== "vpn") {
if (type !== "vpn" && type !== "wireguard") {
continue;
}
const remaining2 = remaining.substring(0, secondLastColonIdx);