From 312f3ddb5e6038014b7fea974f50fd11f611ad84 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Mon, 2 Dec 2019 17:50:54 +0100 Subject: [PATCH] Use name as is for logo Names are already lowercase. --- Passepartout-iOS/Global/Theme.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Passepartout-iOS/Global/Theme.swift b/Passepartout-iOS/Global/Theme.swift index 718fa25f..d91dd5b9 100644 --- a/Passepartout-iOS/Global/Theme.swift +++ b/Passepartout-iOS/Global/Theme.swift @@ -189,7 +189,7 @@ extension MFMailComposeViewController { extension Infrastructure.Metadata { var logo: UIImage? { let bundle = Bundle(for: AppDelegate.self) - guard let image = AssetImageTypeAlias(named: name.lowercased(), in: bundle, compatibleWith: nil) else { + guard let image = AssetImageTypeAlias(named: name, in: bundle, compatibleWith: nil) else { return Asset.Providers.placeholder.image } return image