Skip to content

Commit

Permalink
fixup! Change priority of company name algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
gersonnoboa committed Oct 11, 2023
1 parent d482c1d commit beb7772
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions GliaWidgets/Public/Glia/Glia+StartEngagement.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beb7772

Please sign in to comment.