Skip to content

Commit

Permalink
[ThumbTrack] Delete deprecated fontSize property.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 330534620
  • Loading branch information
Wenyu Zhang authored and material-automation committed Sep 8, 2020
1 parent 01b1cba commit 959e66d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions components/private/ThumbTrack/src/MDCNumericValueLabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@
/** The text color of the label. */
@property(nonatomic, strong, null_resettable) UIColor *textColor;

/**
The size of the value label.
@note This property is deprecated and will be removed in an upcoming release.
*/
@property(nonatomic) CGFloat fontSize __deprecated_msg("Please use the font property instead.");

/** The text to be displayed in the value label. */
@property(nonatomic, copy, nullable) NSString *text;

Expand Down
6 changes: 0 additions & 6 deletions components/private/ThumbTrack/src/MDCNumericValueLabel.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

#import "MDCNumericValueLabel.h"

#import "MaterialTypography.h"

static const CGFloat kAnchorPointY = (CGFloat)1.15;
static const CGFloat kBezierSmoothingFactor = (CGFloat)0.0625;
static const CGFloat kLabelInsetSize = 6;
Expand Down Expand Up @@ -134,10 +132,6 @@ - (CGFloat)fontSize {
return _label.font.pointSize;
}

- (void)setFontSize:(CGFloat)fontSize {
_label.font = [[MDCTypography fontLoader] regularFontOfSize:fontSize];
}

- (NSString *)text {
return _label.text;
}
Expand Down

0 comments on commit 959e66d

Please sign in to comment.