Skip to content

Commit

Permalink
Added trackTintColor property
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio De Stefano committed Nov 2, 2015
1 parent 294cd38 commit cb41c8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
6 changes: 0 additions & 6 deletions apidoc/Titanium/UI/ProgressBar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ properties:
summary: Progress bar text.
type: String

- name: progressTintColor
summary: The color shown for the portion of the progress bar that is filled.
type: String
platforms: [iphone, ipad]
since: "5.2.0"

- name: trackTintColor
summary: The color shown for the portion of the progress bar that is not filled.
type: String
Expand Down
8 changes: 1 addition & 7 deletions iphone/Classes/TiUIProgressBar.m
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,6 @@ -(void)setColor_:(id)value
[[self messageLabel] setTextColor:newColor];
}

-(void)setProgressTintColor_:(id)value
{
UIColor * newColor = [[TiUtils colorValue:value] _color];
[[self progress] setProgressTintColor:newColor];
}

-(void)setTrackTintColor_:(id)value
{
UIColor * newColor = [[TiUtils colorValue:value] _color];
Expand Down Expand Up @@ -228,4 +222,4 @@ -(void)updateConstraints

@end

#endif
#endif

0 comments on commit cb41c8e

Please sign in to comment.