Skip to content

Commit 00ce83d

Browse files
authored
Merge pull request #261 from LoopKit/fix-improper-usage-of-retrospective-correction
Fix improper usage of retrospective correction.
2 parents 3460a85 + 9b47dd5 commit 00ce83d

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

DoseMathTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.1</string>
18+
<string>1.1.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Loop.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@
12301230
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
12311231
CODE_SIGN_IDENTITY = "iPhone Developer: [email protected] (XZN842LDLT)";
12321232
COPY_PHASE_STRIP = NO;
1233-
CURRENT_PROJECT_VERSION = 29;
1233+
CURRENT_PROJECT_VERSION = 30;
12341234
DEBUG_INFORMATION_FORMAT = dwarf;
12351235
ENABLE_STRICT_OBJC_MSGSEND = YES;
12361236
ENABLE_TESTABILITY = YES;
@@ -1282,7 +1282,7 @@
12821282
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
12831283
CODE_SIGN_IDENTITY = "iPhone Developer: [email protected] (XZN842LDLT)";
12841284
COPY_PHASE_STRIP = NO;
1285-
CURRENT_PROJECT_VERSION = 29;
1285+
CURRENT_PROJECT_VERSION = 30;
12861286
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
12871287
ENABLE_NS_ASSERTIONS = NO;
12881288
ENABLE_STRICT_OBJC_MSGSEND = YES;

Loop/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundlePackageType</key>
2020
<string>APPL</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>1.1.1</string>
22+
<string>1.1.2</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleVersion</key>

Loop/Managers/LoopDataManager.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@ final class LoopDataManager {
539539

540540
guard
541541
lastBolus == nil, // Don't recommend changes if a bolus was just set
542-
let tempBasal = DoseMath.recommendTempBasalFromPredictedGlucose(predictionWithRetrospectiveEffect,
542+
let predictedGlucose = self.predictedGlucose,
543+
let tempBasal = DoseMath.recommendTempBasalFromPredictedGlucose(predictedGlucose,
543544
lastTempBasal: lastTempBasal,
544545
maxBasalRate: maxBasal,
545546
glucoseTargetRange: glucoseTargetRange,

LoopTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.1</string>
18+
<string>1.1.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

WatchApp Extension/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>XPC!</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.1.1</string>
20+
<string>1.1.2</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

WatchApp/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.1.1</string>
20+
<string>1.1.2</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)