Explorar el Código

add private identifier to func

Kyle McWhirter hace 2 años
padre
commit
4afb0ad6d5

+ 1 - 1
FreeAPS/Sources/Shortcuts/TempPresets/ApplyTempPresetIntent.swift

@@ -34,7 +34,7 @@ import Foundation
         })
     }
 
-    func decimalToTimeString(decimal: Decimal) -> String {
+    private func decimalToTimeString(decimal: Decimal) -> String {
         let timeInterval = TimeInterval(decimal * 60) // seconds
 
         let formatter = DateComponentsFormatter()