Explorar el Código

Remove duplicate function that mistakenly was added via git automerge

dnzxy hace 2 años
padre
commit
d51c8179f8
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      FreeAPS/Sources/APS/Storage/PumpHistoryStorage.swift

+ 0 - 5
FreeAPS/Sources/APS/Storage/PumpHistoryStorage.swift

@@ -38,11 +38,6 @@ final class BasePumpHistoryStorage: PumpHistoryStorage, Injectable {
         return Decimal(roundedValue)
     }
 
-    private func roundDose(_ dose: Double, toIncrement increment: Double) -> Decimal {
-        let roundedValue = (dose / increment).rounded() * increment
-        return Decimal(roundedValue)
-    }
-
     func storePumpEvents(_ events: [NewPumpEvent]) {
         processQueue.async {
             self.context.perform {