Skip to content

Commit 1381bfb

Browse files
committed
Add new constant for spacing between items in JetpackInstallStepsView header
1 parent ce0b953 commit 1381bfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/JetpackInstall/JetpackInstallStepsView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct JetpackInstallStepsView: View {
4040
// Main content
4141
VStack(alignment: .leading, spacing: Constants.contentSpacing) {
4242
// Header
43-
HStack(spacing: 8) {
43+
HStack(spacing: Constants.headerContentSpacing) {
4444
Image(uiImage: .jetpackGreenLogoImage)
4545
.resizable()
4646
.frame(width: Constants.logoSize * scale, height: Constants.logoSize * scale)
@@ -117,6 +117,7 @@ struct JetpackInstallStepsView: View {
117117

118118
private extension JetpackInstallStepsView {
119119
enum Constants {
120+
static let headerContentSpacing: CGFloat = 8
120121
static let contentTopMargin: CGFloat = 69
121122
static let contentHorizontalMargin: CGFloat = 40
122123
static let contentSpacing: CGFloat = 32

0 commit comments

Comments
 (0)