Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions Loop/Views/LoopStatusModalView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,10 @@ class LoopStatusModalViewModel {
let timeString = ago.truncatedTimeAgoString
else { return nil }


// CI (June 2, 2026): Replace the below line with commented code below it after 510k submission is complete and build hold is lifted.

return NSLocalizedString("\(timeString) ago", comment: "last loop completed string")

// if ago > .hours(1) {
// return String(format: NSLocalizedString(">%@ ago", comment: "last loop completed string with greater than sign. (1: truncated time ago)"), timeString)
// } else {
// return String(format: NSLocalizedString("%@ ago", comment: "last loop completed string. (1: truncated time ago)"), timeString)
// }
if ago > .hours(1) {
return String(format: NSLocalizedString(">%@ ago", comment: "last loop completed string with greater than sign. (1: truncated time ago)"), timeString)
} else {
return String(format: NSLocalizedString("%@ ago", comment: "last loop completed string. (1: truncated time ago)"), timeString)
}
}
}