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

Address PR feedback: remove TODO and comments

Deniz Cengiz 1 год назад
Родитель
Сommit
684b9c26c0

+ 0 - 1
Trio/Sources/APS/CGM/PluginSource.swift

@@ -107,7 +107,6 @@ extension PluginSource: CGMManagerDelegate {
     func cgmManagerWantsDeletion(_ manager: CGMManager) {
         dispatchPrecondition(condition: .onQueue(processQueue))
         debug(.deviceManager, " CGM Manager with identifier \(manager.pluginIdentifier) wants deletion")
-        // TODO:
         glucoseManager?.deleteGlucoseSource()
     }
 

+ 0 - 1
Trio/Sources/Modules/CGM/CGMStateModel.swift

@@ -37,7 +37,6 @@ class CGMDeletionCompletionNotifying: CompletionNotifying {
 
 extension CGM {
     final class StateModel: BaseStateModel<Provider> {
-        // Singleton implementation
         private static var _shared: StateModel?
         static var shared: StateModel {
             if _shared == nil {

+ 1 - 1
Trio/Sources/Modules/Home/HomeStateModel.swift

@@ -779,7 +779,7 @@ extension Home.StateModel: PumpManagerOnboardingDelegate {
     }
 
     func pumpManagerOnboarding(didPauseOnboarding _: PumpManagerUI) {
-        // TODO:
+        // nothing to do
     }
 }