Fix comment
This commit is contained in:
parent
eb4f741f1a
commit
5c280b7922
@ -107,9 +107,9 @@ import UIKit
|
|||||||
// configure attributed string for progress percentage.
|
// configure attributed string for progress percentage.
|
||||||
let attributedString = NSMutableAttributedString(string: String(percent) + "%")
|
let attributedString = NSMutableAttributedString(string: String(percent) + "%")
|
||||||
// percent value
|
// percent value
|
||||||
attributedString.setAttributes([NSAttributedString.Key.font: MFStyler.fontForFeedCardTitle()], range: NSMakeRange(0, percentLen))
|
attributedString.setAttributes([NSAttributedString.Key.font: Styler.Font.BoldTitleXLarge], range: NSMakeRange(0, percentLen))
|
||||||
// % symbol
|
// % symbol
|
||||||
attributedString.setAttributes([NSAttributedString.Key.font: MFStyler.fontRegularMicro()], range: NSMakeRange(percentLen, 1))
|
attributedString.setAttributes([NSAttributedString.Key.font: Styler.Font.RegularMicro], range: NSMakeRange(percentLen, 1))
|
||||||
|
|
||||||
// show progress percentage in a text layer
|
// show progress percentage in a text layer
|
||||||
let width = viewWidth
|
let width = viewWidth
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user