Skip to content

Commit

Permalink
Paywalls: fixed template 2 inconsistent spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Aug 25, 2023
1 parent db44e00 commit 646742b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RevenueCatUI/Templates/Template2View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct Template2View: TemplateViewType {
@ViewBuilder
var content: some View {
VStack(spacing: self.defaultVerticalPaddingLength) {
Spacer()
Spacer(minLength: 0)

self.scrollableContent
.scrollableIfNecessary(enabled: self.configuration.mode.shouldDisplayPackages)
Expand Down Expand Up @@ -122,7 +122,7 @@ struct Template2View: TemplateViewType {
.buttonStyle(PackageButtonStyle(isSelected: isSelected))
}
}
.defaultHorizontalPadding()
.padding([.horizontal, .top], self.defaultHorizontalPaddingLength)

Spacer()
}
Expand Down

0 comments on commit 646742b

Please sign in to comment.