Sfoglia il codice sorgente

Address PR feedback: remove TODO and comments

Deniz Cengiz 1 anno fa
parent
commit
684b9c26c0

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

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

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

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

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

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