Просмотр исходного кода

add private identifier to func

Kyle McWhirter 2 лет назад
Родитель
Сommit
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 formatter = DateComponentsFormatter()