Bladeren bron

Fix formatting for commented out code

Deniz Cengiz 1 jaar geleden
bovenliggende
commit
4445e1d0cf

+ 4 - 3
FreeAPS/Sources/Modules/Settings/SettingsStateModel.swift

@@ -62,9 +62,10 @@ extension Settings {
         func hideSettingsModal() {
             hideModal()
         }
-// Commenting this out for now, as not needed and possibly dangerous for users to be able to nuke their pump pairing informations via the debug menu
-// Leaving it in here, as it may be a handy functionality for further testing or developers.
-// See https://github.com/nightscout/Trio/pull/277 for more information
+
+        // Commenting this out for now, as not needed and possibly dangerous for users to be able to nuke their pump pairing informations via the debug menu
+        // Leaving it in here, as it may be a handy functionality for further testing or developers.
+        // See https://github.com/nightscout/Trio/pull/277 for more information
 //
 //        func resetLoopDocuments() {
 //            guard let localDocuments = try? FileManager.default.url(

+ 3 - 3
FreeAPS/Sources/Modules/Settings/View/SettingsRootView.swift

@@ -61,9 +61,9 @@ extension Settings {
                                     .frame(maxWidth: .infinity, alignment: .trailing)
                                     .buttonStyle(.borderedProminent)
                             }
-// Commenting this out for now, as not needed and possibly dangerous for users to be able to nuke their pump pairing informations via the debug menu
-// Leaving it in here, as it may be a handy functionality for further testing or developers.
-// See https://github.com/nightscout/Trio/pull/277 for more information
+                            // Commenting this out for now, as not needed and possibly dangerous for users to be able to nuke their pump pairing informations via the debug menu
+                            // Leaving it in here, as it may be a handy functionality for further testing or developers.
+                            // See https://github.com/nightscout/Trio/pull/277 for more information
 //
 //                            HStack {
 //                                Text("Delete Stored Pump State Binary Files")