Преглед на файлове

Merge pull request #248 from nightscout/podReplace

Fix "Replace Pod" String overlapping with glucose bobble
Deniz Cengiz преди 1 година
родител
ревизия
dc43b0ae8f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/Header/PumpView.swift

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/Header/PumpView.swift

@@ -108,7 +108,7 @@ struct PumpView: View {
                             .fontDesign(.rounded)
                     }
                     // aligns the stopwatch icon exactly with the first pixel of the reservoir icon
-                    .padding(.leading, 12)
+                    .padding(.leading, date.timeIntervalSince(timerDate) > 0 ? 12 : 0)
                 }
             }
         }