-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fixed live styles #114
Conversation
Library/Styles/BaseStyles.swift
Outdated
@@ -119,5 +125,12 @@ private let baseNavigationBarStyle = | |||
NSForegroundColorAttributeName: UIColor.black, | |||
NSFontAttributeName: UIFont.ksr_callout() | |||
] | |||
<> UINavigationBar.lens.translucent .~ false |
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.
quick q, the default translucent
value is true
. how come this was removed?
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.
ah sorry, i thought the default was false
and it seemed to work, but now i see it's wrong. fixing...
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.
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"> |
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.
sorry saw this StyledLabel
getting logged to the console so wanted to remove. unrelated to this pr but still nice to get rid of
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.
oh nice, thanks!
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.