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

Fixed live styles #114

Merged
merged 4 commits into from
Mar 17, 2017
Merged

Fixed live styles #114

merged 4 commits into from
Mar 17, 2017

Conversation

mbrandonw
Copy link
Contributor

This is just for posterity, but #104 messed with some nav bar styles on our live streaming controllers and this fixes that. Will merge when tests pass.

@@ -119,5 +125,12 @@ private let baseNavigationBarStyle =
NSForegroundColorAttributeName: UIColor.black,
NSFontAttributeName: UIFont.ksr_callout()
]
<> UINavigationBar.lens.translucent .~ false
Copy link
Contributor

Choose a reason for hiding this comment

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

quick q, the default translucent value is true. how come this was removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah sorry, i thought the default was false and it seemed to work, but now i see it's wrong. fixing...

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah apple loves that translucent look

@@ -385,7 +385,7 @@
<constraint firstAttribute="width" constant="80" id="vCB-Xb-z6f"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="HERTZFELDT ON BLU-RAY" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumScaleFactor="0.69999999999999996" translatesAutoresizingMaskIntoConstraints="NO" id="peK-ts-qtm" customClass="StyledLabel" customModule="Library">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry saw this StyledLabel getting logged to the console so wanted to remove. unrelated to this pr but still nice to get rid of

Copy link
Contributor

Choose a reason for hiding this comment

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

oh nice, thanks!

@mbrandonw mbrandonw merged commit 5699f7f into master Mar 17, 2017
@mbrandonw mbrandonw deleted the fixed-live-styles branch March 17, 2017 18:44
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