Skip to content
Snippets Groups Projects
Unverified Commit 47e0380c authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] fix my syntax error

sorry about that :(
parent 0da663d2
Branches
Tags
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment