Skip to content

Commit

Permalink
fix logic error, testflight expiration is independent of profile expi…
Browse files Browse the repository at this point in the history
…ration (#2097)
  • Loading branch information
marionbarker committed Dec 12, 2023
1 parent b63c492 commit b6610a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loop/Managers/AppExpirationAlerter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class AppExpirationAlerter {
if isTestFlight, let buildDate = buildDate() {
let testflightExpiration = Calendar.current.date(byAdding: .day, value: 90, to: buildDate)!

return profileExpiration < testflightExpiration ? profileExpiration : testflightExpiration
return testflightExpiration
} else {
return profileExpiration
}
Expand Down

0 comments on commit b6610a1

Please sign in to comment.