Преглед изворни кода

Display all units

(cherry picked from commit 371288dc978fbfc2337439f2bb3e2a8e4b4affb7)
Jon Mårtensson пре 2 година
родитељ
комит
8a5f91d39c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

+ 1 - 1
FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

@@ -248,7 +248,7 @@ extension Bolus {
                         "which is below your Threshold (",
                         comment: "Bolus pop-up / Alert string. Make translations concise!"
                     ) + state
-                    .threshold.formatted() + ")"
+                    .threshold.formatted() + " " + state.units.rawValue + ")"
             case 3:
                 return NSLocalizedString(
                     "Eventual Glucose > Target Glucose, but glucose is climbing slower than expected. Expected: ",