Skip to content

Commit 69e55be

Browse files
authored
Merge pull request #29 from loopandlearn/update_tf_expiration
update testflight expiration logic
2 parents 016f9fd + b86ce1f commit 69e55be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testflight_expiration_warning/main_tf_alert.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ index 3aa74273..fb33b1cb 100644
143143
+ if isTestFlight, let buildDate = buildDate() {
144144
+ let testflightExpiration = Calendar.current.date(byAdding: .day, value: 90, to: buildDate)!
145145
+
146-
+ return profileExpiration < testflightExpiration ? profileExpiration : testflightExpiration
146+
+ return testflightExpiration
147147
+ } else {
148148
+ return profileExpiration
149149
+ }

0 commit comments

Comments
 (0)