Merge branch 'bugfix/progress_losing_tintcolor' into 'develop'
use progressTintColor to prevent progress bar losing color when overlaid. See merge request BPHV_MIPS/mvm_core_ui!618
This commit is contained in:
commit
caf4d2a4fd
@ -878,7 +878,7 @@ CGFloat const PanelAnimationDuration = 0.2;
|
||||
// Create bottom progress bar
|
||||
UIProgressView *progressView = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault];
|
||||
progressView.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
progressView.tintColor = [UIColor mfTomatoRed];
|
||||
progressView.progressTintColor = [UIColor mfTomatoRed];
|
||||
[self.view addSubview:progressView];
|
||||
self.bottomProgressBar = progressView;
|
||||
[NSLayoutConstraint constraintWithItem:progressView attribute:NSLayoutAttributeLeft relatedBy:NSLayoutRelationEqual toItem:mainView attribute:NSLayoutAttributeLeft multiplier:1.0 constant:0].active = YES;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user