Browse Source

current expiry date bold

v0.17
hehehaha 2 years ago
parent
commit
965c3f274c
  1. 4
      GME Remit.xcodeproj/project.pbxproj
  2. 10
      GME Remit/Modules/RenewID/User Interface/View/RenewIDViewController.swift

4
GME Remit.xcodeproj/project.pbxproj

@ -8048,7 +8048,7 @@
"$(inherited)",
"$(PROJECT_DIR)/GME\\ Remit/ThirdParty/virtualKeyboard/mtk_module",
);
MARKETING_VERSION = 1.3.4;
MARKETING_VERSION = 1.3.5;
"OTHER_CODE_SIGN_FLAGS[sdk=*]" = "--generate-entitlement-der";
OTHER_LDFLAGS = (
"$(OTHER_LDFLAGS)",
@ -8089,7 +8089,7 @@
"$(inherited)",
"$(PROJECT_DIR)/GME\\ Remit/ThirdParty/virtualKeyboard/mtk_module",
);
MARKETING_VERSION = 1.3.4;
MARKETING_VERSION = 1.3.5;
OTHER_LDFLAGS = (
"$(OTHER_LDFLAGS)",
"-ObjC",

10
GME Remit/Modules/RenewID/User Interface/View/RenewIDViewController.swift

@ -94,7 +94,15 @@ class RenewIDViewController: UIViewController {
let combination = NSMutableAttributedString()
combination.append(statusText)
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
}

Loading…
Cancel
Save