fix: issue #146 - make trial always says days on every trial banner in the app
Automated fix by Tony CI v3. Refs #146 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -22,12 +22,12 @@ struct IAPWarningView: View {
|
||||
Image(systemName: "clock")
|
||||
.foregroundColor(.orange)
|
||||
|
||||
if let expirationDate = iapManager.trialExpirationDate, expirationDate > Date() {
|
||||
if iapManager.daysLeftInTrial > 0 {
|
||||
Text(String(localized: "iap_warning_view_title"))
|
||||
.font(.body)
|
||||
.foregroundColor(textColor)
|
||||
|
||||
Text(expirationDate, style: .relative)
|
||||
Text("\(iapManager.daysLeftInTrial) days")
|
||||
.font(.body)
|
||||
.bold()
|
||||
.foregroundColor(.orange)
|
||||
|
||||
Reference in New Issue
Block a user