From d4484f33073ba032bf0c40e007093c606910b735 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Wed, 27 Apr 2022 18:25:34 +0200 Subject: [PATCH] Simplify layout of in-app products --- Passepartout/App/Views/PaywallView+Purchase.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Passepartout/App/Views/PaywallView+Purchase.swift b/Passepartout/App/Views/PaywallView+Purchase.swift index ca1e3295..67caeb72 100644 --- a/Passepartout/App/Views/PaywallView+Purchase.swift +++ b/Passepartout/App/Views/PaywallView+Purchase.swift @@ -265,16 +265,13 @@ private struct PurchaseRow: View { let purchaseState: PaywallView.PurchaseView.PurchaseState? var body: some View { - VStack { + VStack(alignment: .leading) { actionButton - .frame(maxWidth: .infinity, alignment: .leading) - .padding(.bottom, 5.0) -// .border(.black, width: 1.0) + .padding(.bottom, 5) extra.map { Text($0) - .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading) - .multilineTextAlignment(.leading) + .frame(maxHeight: .infinity) // .xxxThemeTruncation() } }.padding([.top, .bottom])