1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-04 03:22:12 -04:00

Fix VPN UI for active transient entries (#2312)

Co-authored-by: louzt <18044171+louzt@users.noreply.github.com>
This commit is contained in:
David Mireles
2026-04-30 09:41:41 -06:00
committed by GitHub
parent 2877c63c97
commit 23ed795e85
4 changed files with 58 additions and 7 deletions

View File

@@ -216,6 +216,8 @@ Singleton {
function getVpnTypeFromProfile(profile) {
if (!profile)
return "VPN";
if (profile.typeLabel)
return profile.typeLabel;
if (profile.type === "wireguard")
return "WireGuard";
return getPluginName(profile.serviceType);