-
Notifications
You must be signed in to change notification settings - Fork 24
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
Photo Albums Layout #9
Conversation
bcylin
commented
Jul 11, 2017
- Fix the shadow of navigation bar when photo albums are displayed
- Fix the gap between the navigation bar and photo albums after device rotation
@burnflare, can you review this pull request? |
Generated by 🚫 Danger |
.travis.yml
Outdated
@@ -7,6 +7,9 @@ cache: | |||
directories: | |||
- vendor/bundle | |||
- Example/Pods/SwiftLint | |||
before_install: | |||
- xcrun instruments -s devices | |||
- xcrun instruments -w "iPhone SE (10.3.1) [" || true |
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.
Wanna use iPhone 7 like https://github.com/carousell/Carousell-iOS/pull/397?
|
||
private lazy var shadawLayer: CALayer = { | ||
let layer = CALayer() | ||
layer.borderColor = UIColor.Palette.magnesium.cgColor |
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.
Should these colours be abstracted out to a theming engine of some sort since this is going to be OSS and people might want to change colors?
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.
Good idea, although it's just for the 1px fake shadow below the navigation bar when the album list is presented.
95cb7fa
to
48f90fb
Compare