From 47e0380c7c61b42092415c2d0a7efe10c2475980 Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Mon, 23 Nov 2020 20:35:39 +0100
Subject: [PATCH] [bug] fix my syntax error

sorry about that :(
---
 gui/qml/main.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index b9468b56..a85ae46d 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -170,7 +170,7 @@ ApplicationWindow {
             if (systrayVisible) {
                 show();
                 if (Qt.platform.os === "windows") {
-                    let appname: ctx ? ctx.appName: "VPN"
+                    let appname = ctx ? ctx.appName: "VPN";
                     showNotification(appname + " is up and running. Please use system tray icon to control it.");
                 }
             }
@@ -180,7 +180,7 @@ ApplicationWindow {
         function showNotification(msg) {
             console.log("Going to show notification message: ", msg);
             if (supportsMessages) {
-                let appname: ctx ? ctx.appName: "VPN"
+                let appname = ctx ? ctx.appName: "VPN";
                 showMessage(appname, msg, null, 15000);
             } else {
                 console.log("System doesn't support systray notifications");
-- 
GitLab