소스 검색

Address PR feedback: remove TODO and comments

Deniz Cengiz 1 년 전
부모
커밋
684b9c26c0
3개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      Trio/Sources/APS/CGM/PluginSource.swift
  2. 0 1
      Trio/Sources/Modules/CGM/CGMStateModel.swift
  3. 1 1
      Trio/Sources/Modules/Home/HomeStateModel.swift

+ 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
     }
 }