From e2b471e980dbbabb7901e793e6f19253b2870bb5 Mon Sep 17 00:00:00 2001 From: Cameron Ingham Date: Tue, 2 Jun 2026 09:20:45 -0700 Subject: [PATCH] [LOOP-5769] Re-apply bug fix for status modal sync --- Loop/Views/LoopStatusModalView.swift | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Loop/Views/LoopStatusModalView.swift b/Loop/Views/LoopStatusModalView.swift index 5b8927f55..66cddd242 100644 --- a/Loop/Views/LoopStatusModalView.swift +++ b/Loop/Views/LoopStatusModalView.swift @@ -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) + } } }