瀏覽代碼

removed wrong positioned listener

Arif Kobel 2 年之前
父節點
當前提交
9ea08a5558
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      FreeAPS/Sources/Modules/Home/View/Chart/MainChartView2.swift

+ 0 - 6
FreeAPS/Sources/Modules/Home/View/Chart/MainChartView2.swift

@@ -362,12 +362,6 @@ extension MainChartView2 {
         .font(.caption2)
         .padding(.horizontal, 40)
         .padding(.vertical, 1)
-        .onChange(of: basalProfile) { _ in
-            calculcateBasals()
-        }
-        .onChange(of: tempBasals) { _ in
-            calculateTempBasals()
-        }
     }
 }