Explorar el Código

Drop threshold echo from glucose alarm body text

trioneer hace 3 semanas
padre
commit
7a2242bb14
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      Trio/Sources/Services/Alerts/GlucoseAlertCoordinator.swift

+ 3 - 3
Trio/Sources/Services/Alerts/GlucoseAlertCoordinator.swift

@@ -269,17 +269,17 @@ final class GlucoseAlertCoordinator: Injectable {
         case .low,
              .urgentLow:
             return String(
-                format: String(localized: "Glucose %1$@ at or below %2$@."),
+                format: String(localized: "Glucose %1$@."),
                 valueString, limitString
             )
         case .forecastedLow:
             return String(
-                format: String(localized: "Forecast +%1$d min %2$@, at or below limit %3$@."),
+                format: String(localized: "Forecast +%1$d min %2$@."),
                 ForecastedGlucoseEvaluator.defaultHorizonMinutes, valueString, limitString
             )
         case .high:
             return String(
-                format: String(localized: "Glucose %1$@ at or above %2$@."),
+                format: String(localized: "Glucose %1$@."),
                 valueString, limitString
             )
         }