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

Feature/account screen authorized #19

Merged
merged 8 commits into from
Dec 12, 2017

Conversation

AntonoffEvgeniy
Copy link
Contributor

Added authorized header view to account screen

}

private func populateViews(customer: Customer) {
let customerName = "\(customer.firstName ?? String()) \(customer.lastName ?? String())"
Copy link
Contributor

Choose a reason for hiding this comment

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

Use translation with 2 params and pass first and last name

@@ -13,10 +13,13 @@ protocol AccountTableDelegateProtocol {
func customer() -> Customer?
}

private let kHeaderHeightLogged: CGFloat = 184
Copy link
Contributor

Choose a reason for hiding this comment

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

Try to avoid hardcoded height for header. Looks like we can use 0 for estimated height and it should fit to header content

@AntonoffEvgeniy AntonoffEvgeniy merged commit 2fae063 into develop Dec 12, 2017
@AntonoffEvgeniy AntonoffEvgeniy deleted the feature/account_screen_authorized branch December 12, 2017 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants