From 22cd3d4d4e21cedbe60323318684f008cc2ba235 Mon Sep 17 00:00:00 2001
From: Matheo Joseph <matheo.joseph@savoirfairelinux.com>
Date: Fri, 21 Jul 2023 17:10:13 -0400
Subject: [PATCH] whitelabeling: fix problem when no custom logo in custom Ui

Change-Id: I3a90a20e1963277e72c3980bf5002c16a9a4f213
---
 src/app/mainview/components/WelcomePage.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/mainview/components/WelcomePage.qml b/src/app/mainview/components/WelcomePage.qml
index fb771341f..1663bfbf3 100644
--- a/src/app/mainview/components/WelcomePage.qml
+++ b/src/app/mainview/components/WelcomePage.qml
@@ -93,7 +93,7 @@ ListSelectionView {
         customBgUrl = hasCustomBgImage ? (CurrentAccount.managerUri + uiCustomization.backgroundColorOrUrl) : "";
         hasCustomBgColor = (hasCustomUi && uiCustomization.backgroundType === "color");
         customBgColor = hasCustomBgColor ? uiCustomization.backgroundColorOrUrl : "";
-        hasCustomLogo = (hasCustomUi && hasLogo && uiCustomization.logoUrl);
+        hasCustomLogo = (hasCustomUi && hasLogo && uiCustomization.logoUrl !== undefined);
         customLogoUrl = hasCustomLogo ? CurrentAccount.managerUri + uiCustomization.logoUrl : "";
         hasWelcomeInfo = hasTitle || hasDescription;
         hasBottomId = !hasWelcomeInfo && !hasTips && hasLogo;
-- 
GitLab