ソースを参照

add private identifier to func

Kyle McWhirter 2 年 前
コミット
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 timeInterval = TimeInterval(decimal * 60) // seconds
 
 
         let formatter = DateComponentsFormatter()
         let formatter = DateComponentsFormatter()