Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better spacing in PromotionalOfferView #4369

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

vegaro
Copy link
Contributor

@vegaro vegaro commented Oct 10, 2024

Reported at #4355

Before After
simulator_screenshot_B4FBE7C3-1F7A-4936-A6AD-D17D0DE808DE simulator_screenshot_5A03972A-D677-4AE4-A652-B3780AA5A388

Copy link
Member

@JayShortway JayShortway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better! 1 extremely minor comment, feel free to ignore.

Comment on lines 105 to 109
private enum Constants {
static let spacing: CGFloat = 30
static let topPadding: CGFloat = 150
static let horizontalPadding: CGFloat = 40
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker at all, but I'd be fine with these being directly in the PromotionalOfferHeaderView, outside of the enum. (Unless there's a reason to keep them in the enum of course.)

(This applies to the other Constants enum in the PromotionalOfferView too.)

@vegaro vegaro merged commit b43e9d0 into main Oct 11, 2024
7 checks passed
@vegaro vegaro deleted the fix-promotional-offer-ui branch October 11, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants