From ca3f128194888e30aadc149eb40a1370931eb2eb Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 8 Dec 2021 20:46:02 +0100 Subject: [bug] panic no more --- gui/components/Splash.qml | 2 +- gui/themes/theme-riseup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/components/Splash.qml b/gui/components/Splash.qml index 5e62ad9..9c054a6 100644 --- a/gui/components/Splash.qml +++ b/gui/components/Splash.qml @@ -223,7 +223,7 @@ Page { } function isEmpty(val) { - return val.length == 0; + return val==undefined ? true : val.length == 0; } function isEmptyMotd(motd) { diff --git a/gui/themes/theme-riseup.js b/gui/themes/theme-riseup.js index 67fb0e1..a63122f 100644 --- a/gui/themes/theme-riseup.js +++ b/gui/themes/theme-riseup.js @@ -3,7 +3,7 @@ const iconOn = "../resources/riseup-icon.svg"; const iconOff = "../resources/icon-noshield.svg"; const iconConnecting = "../resources/ravens.gif"; -const iconSplash = "../resources/riseup-icon.svg"; +const iconSplash = "../resources/icon-noshield.svg"; const bgColor = "#f3f3f3"; const fgColor = "#ffffff"; -- cgit v1.2.3