Fix comment

This commit is contained in:
rajani kumari Gupta 2024-10-21 14:28:34 +05:30
parent eb4f741f1a
commit 5c280b7922

View File

@ -107,9 +107,9 @@ import UIKit
// configure attributed string for progress percentage.
let attributedString = NSMutableAttributedString(string: String(percent) + "%")
// 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
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
let width = viewWidth