Skip to content

Commit e2ff0fd

Browse files
authored
hint to undo the LoopPill changes
everyone may not want the Loop pill expanded. so to help with customization option, added a note.
1 parent f68fc0e commit e2ff0fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Loop/Managers/NightscoutDataManager.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ final class NightscoutDataManager {
180180
//that is the only pill that has the option to modify the text
181181
let loopStatus = LoopStatus(name: loopParams, version: loopVersion, timestamp: statusTime, iob: iob, cob: cob, predicted: predicted, recommendedTempBasal: recommended, recommendedBolus: recommendedBolus, enacted: loopEnacted, failureReason: loopError)
182182

183+
//if you wish to have the Loop pill clean, without the added BGtargets and EventualBG showing, remove the slashes on code line below, and add slashes to code line above
184+
185+
//let loopStatus = LoopStatus(name: loopName, version: loopVersion, timestamp: statusTime, iob: iob, cob: cob, predicted: predicted, recommendedTempBasal: recommended, recommendedBolus: recommendedBolus, enacted: loopEnacted, failureReason: loopError)
186+
183187
uploadDeviceStatus(nil, loopStatus: loopStatus, includeUploaderStatus: false)
184188

185189
}

0 commit comments

Comments
 (0)