Displays accurate expiration date for installed apps

This commit is contained in:
Riley Testut
2019-06-04 18:50:55 -07:00
parent a09d6d3502
commit 13f9f2ea6f
5 changed files with 7 additions and 11 deletions

View File

@@ -59,12 +59,12 @@ private extension MyAppsViewController
let detailText =
"""
Signed: \(self.dateFormatter.string(from: installedApp.signedDate))
Expires: \(self.dateFormatter.string(from: installedApp.expirationDate))
"""
cell.detailTextLabel?.numberOfLines = 2
cell.detailTextLabel?.numberOfLines = 1
cell.detailTextLabel?.text = detailText
cell.detailTextLabel?.textColor = .red
}
return dataSource