Simplify layout of in-app products

This commit is contained in:
Davide De Rosa 2022-04-27 18:25:34 +02:00
parent 2b1efb8fec
commit d4484f3307
1 changed files with 3 additions and 6 deletions

View File

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