-
Notifications
You must be signed in to change notification settings - Fork 11
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
Extended Menu Redesign Pt.1 #318
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice PR! I left a few nits.
@@ -10,7 +10,7 @@ import UIKit | |||
|
|||
class ExpandedHeaderContainer: UIView { | |||
|
|||
private var filterButton: ExpandedFilterButton! | |||
// private var filterButton: ExpandedFilterButton! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove instead of commenting
categoryLabel = UILabel() | ||
categoryLabel.text = category | ||
categoryLabel.font = .systemFont(ofSize: 18, weight: .semibold) | ||
|
||
super.init(frame: .zero) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make first line of function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
make.leading.equalToSuperview() | ||
make.trailing.equalToSuperview() | ||
make.bottom.equalToSuperview() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be shortened: make.leading.trailing.bottom.equalToSuperview()
Overview
This is the first of many PRs to come that are leading up to the Eatery redesign. This PR focuses on the fixes to Extended Menu
Changes Made
Test Coverage
Tested on iPhone 13, iPhone 12 and actual device (XR)
Next Steps (delete if not applicable)
Screenshots (delete if not applicable)
Screen Recording
RPReplay_Final1637364995.MP4