소스 검색

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)
                 }
             }
         }