-
Notifications
You must be signed in to change notification settings - Fork 293
Fix minimumTrackImage, maximumTrackImage, and trackImage do not work together #275
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
Conversation
* Fix deps not linked on iOS. Fix installation problem with detox. * Updated config.yml Co-authored-by: Dmitry Stadnik <dstdnky@gmail.com>
src/ios/RNCSlider.h
Outdated
| @property (nonatomic, strong) UIImage *thumbImage; | ||
| @property (nonatomic, assign) bool tapToSeek; | ||
| @property (nonatomic, assign) bool minimumTrackImageSet; | ||
| @property (nonatomic, assign) bool maximumTrackImageSet; |
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.
I don't think we should make these public - let's keep them private.
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.
Done.
…der into fix-issue-271
src/ios/RNCSlider.m
Outdated
| float _unclippedValue; | ||
| } | ||
| bool _minimumTrackImageSet; | ||
| bool _maximumTrackImageSet;} |
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.
nit: let's move the bracket to the next line
Summary:
Fixing issue #271 only for iOS.
Behavior after fix:
trackImagetrackImageandminimumTrackImagetrackImageandmaximumTrackImagetrackImage andminimumTrackImageandmaximumTrackImage`Test Plan:
Manually tested with other properties - works as before the changes.