From 4f99d628a9948897b51799d250fe9ce7a4f75ee1 Mon Sep 17 00:00:00 2001 From: Jon Petersson Date: Thu, 2 Nov 2023 09:45:11 +0100 Subject: [PATCH] Change account expiry text to display 'less than a day' --- .../AccountExpiryInAppNotificationProvider.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift b/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift index 4412fd5b3a87..d1e49c7a7925 100644 --- a/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift +++ b/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift @@ -51,10 +51,10 @@ final class AccountExpiryInAppNotificationProvider: NotificationProvider, InAppN formatter.maximumUnitCount = 1 let duration: String? - if accountExpiry.timeIntervalSince(now) < .minutes(1) { + if accountExpiry.timeIntervalSince(now) < .days(1) { duration = NSLocalizedString( - "ACCOUNT_EXPIRY_INAPP_NOTIFICATION_LESS_THAN_ONE_MINUTE", - value: "Less than a minute", + "ACCOUNT_EXPIRY_INAPP_NOTIFICATION_LESS_THAN_ONE_DAY", + value: "Less than a day", comment: "" ) } else {