From beb7772ce9aeb5f947e11b96840126b360471bf5 Mon Sep 17 00:00:00 2001 From: Gerson Noboa Date: Wed, 11 Oct 2023 14:06:55 +0300 Subject: [PATCH] fixup! Change priority of company name algorithm --- GliaWidgets/Public/Glia/Glia+StartEngagement.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/GliaWidgets/Public/Glia/Glia+StartEngagement.swift b/GliaWidgets/Public/Glia/Glia+StartEngagement.swift index fa51952e3..c6e4f1566 100644 --- a/GliaWidgets/Public/Glia/Glia+StartEngagement.swift +++ b/GliaWidgets/Public/Glia/Glia+StartEngagement.swift @@ -86,10 +86,8 @@ extension Glia { let companyNameStringKey = "general.company_name" // Company name has been set on the custom locale and is not empty. - if - let remoteCompanyName = stringProviding?.getRemoteString(companyNameStringKey), - !remoteCompanyName.isEmpty - { + if let remoteCompanyName = stringProviding?.getRemoteString(companyNameStringKey), + !remoteCompanyName.isEmpty { return remoteCompanyName } // As the default value in the theme is not empty, it means that