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:
Hedden, Kyle Matthew 2020-10-20 17:14:55 -04:00
commit caf4d2a4fd

View File

@ -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;