浏览代码

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