|
@ -94,7 +94,15 @@ class RenewIDViewController: UIViewController { |
|
|
let combination = NSMutableAttributedString() |
|
|
let combination = NSMutableAttributedString() |
|
|
combination.append(statusText) |
|
|
combination.append(statusText) |
|
|
combination.append(idStatusTitle) |
|
|
combination.append(idStatusTitle) |
|
|
expiryDate.text = "Current Id Expiry Date: \(Utility.database.user.string(.expirtDate) ?? "")" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let expiryText = NSAttributedString(string: "Current Id Expiry Date:", attributes: [NSAttributedString.Key.font : UIFont.sanfrancisco(.bold, size: 15)]) |
|
|
|
|
|
let expiryDateText = NSAttributedString(string: "\(Utility.database.user.string(.expirtDate) ?? "")") |
|
|
|
|
|
let expiryCombitaion = NSMutableAttributedString() |
|
|
|
|
|
expiryCombitaion.append(expiryText) |
|
|
|
|
|
expiryCombitaion.append(expiryDateText) |
|
|
|
|
|
|
|
|
|
|
|
// expiryDate.text = "Current Id Expiry Date: \(Utility.database.user.string(.expirtDate) ?? "")" |
|
|
|
|
|
expiryDate.attributedText = expiryCombitaion |
|
|
idStatus.attributedText = combination |
|
|
idStatus.attributedText = combination |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|