From 7cb610788df4f6cd399098510777a2c4b59eed10 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Fri, 4 Aug 2023 09:23:18 -0700 Subject: [PATCH] `Paywalls`: fixed template 3 icon aspect ratio (#2969) See snapshots. Thanks @guido732 for pointing this out. --- RevenueCatUI/Templates/OnePackageWithFeaturesTemplate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RevenueCatUI/Templates/OnePackageWithFeaturesTemplate.swift b/RevenueCatUI/Templates/OnePackageWithFeaturesTemplate.swift index b57b7fb220..4f281f6ae9 100644 --- a/RevenueCatUI/Templates/OnePackageWithFeaturesTemplate.swift +++ b/RevenueCatUI/Templates/OnePackageWithFeaturesTemplate.swift @@ -36,7 +36,7 @@ struct OnePackageWithFeaturesTemplate: TemplateViewType { private var content: some View { VStack { if let url = self.configuration.iconImageURL { - RemoteImage(url: url) + RemoteImage(url: url, aspectRatio: 1) .frame(width: self.iconSize, height: self.iconSize) .cornerRadius(8) } @@ -103,7 +103,7 @@ struct OnePackageWithFeaturesTemplate: TemplateViewType { } @ScaledMetric(relativeTo: .title) - private var iconSize = 55 + private var iconSize = 65 }