Parcourir la source

removed wrong positioned listener

Arif Kobel il y a 2 ans
Parent
commit
9ea08a5558
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  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()
-        }
     }
 }