Skip to content

Commit b6610a1

Browse files
authored
fix logic error, testflight expiration is independent of profile expiration (#2097)
1 parent b63c492 commit b6610a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loop/Managers/AppExpirationAlerter.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class AppExpirationAlerter {
152152
if isTestFlight, let buildDate = buildDate() {
153153
let testflightExpiration = Calendar.current.date(byAdding: .day, value: 90, to: buildDate)!
154154

155-
return profileExpiration < testflightExpiration ? profileExpiration : testflightExpiration
155+
return testflightExpiration
156156
} else {
157157
return profileExpiration
158158
}

0 commit comments

Comments
 (0)