Use name as is for logo

Names are already lowercase.
This commit is contained in:
Davide De Rosa 2019-12-02 17:50:54 +01:00
parent 78b8ed01a1
commit 312f3ddb5e
1 changed files with 1 additions and 1 deletions

View File

@ -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