Merge branch 'feature/VZWYZDG-1810-UpdatedProgressUI' into 'develop'
Fix the circular progress showing issue when percent is 100%. Fix the circular progress showing issue when percent is 100%. Jira Ticket: https://onejira.verizon.com/browse/VZWYZDG-2236 Co-authored-by: Xi Zhang <xi.zhang@verizon.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1148
This commit is contained in:
commit
7f32af62cc
@ -102,7 +102,7 @@ import UIKit
|
||||
private func showProgressPercentage() {
|
||||
|
||||
let percent = graphModel?.percent ?? 0
|
||||
let percentLen = percent > 9 ? 2 : 1
|
||||
let percentLen = String(percent).count
|
||||
|
||||
// configure attributed string for progress percentage.
|
||||
let attributedString = NSMutableAttributedString(string: String(percent) + "%")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user