Przeglądaj źródła

Remove duplicate function that mistakenly was added via git automerge

dnzxy 2 lat temu
rodzic
commit
d51c8179f8

+ 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 {