فهرست منبع

add private identifier to func

Kyle McWhirter 2 سال پیش
والد
کامیت
4afb0ad6d5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      FreeAPS/Sources/Shortcuts/TempPresets/ApplyTempPresetIntent.swift

+ 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()