Skip to content

Commit 3d1e99f

Browse files
authored
Merge pull request #1991 from LoopKit/tidepool-sync
Tidepool sync
2 parents 512f50d + 894e653 commit 3d1e99f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+967
-397
lines changed

Common/FeatureFlags.swift

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ struct FeatureFlagConfiguration: Decodable {
3838
let dynamicCarbAbsorptionEnabled: Bool
3939
let adultChildInsulinModelSelectionEnabled: Bool
4040
let profileExpirationSettingsViewEnabled: Bool
41+
let missedMealNotifications: Bool
4142

4243

4344
fileprivate init() {
@@ -220,6 +221,14 @@ struct FeatureFlagConfiguration: Decodable {
220221
#else
221222
self.profileExpirationSettingsViewEnabled = true
222223
#endif
224+
225+
// Missed meal notifications compiler flag is inverse, since the default state is enabled.
226+
#if MISSED_MEAL_NOTIFICATIONS_DISABLED
227+
self.missedMealNotifications = false
228+
#else
229+
self.missedMealNotifications = true
230+
#endif
231+
223232
}
224233
}
225234

@@ -253,7 +262,8 @@ extension FeatureFlagConfiguration : CustomDebugStringConvertible {
253262
"* usePositiveMomentumAndRCForManualBoluses: \(usePositiveMomentumAndRCForManualBoluses)",
254263
"* dynamicCarbAbsorptionEnabled: \(dynamicCarbAbsorptionEnabled)",
255264
"* adultChildInsulinModelSelectionEnabled: \(adultChildInsulinModelSelectionEnabled)",
256-
"* profileExpirationSettingsViewEnabled: \(profileExpirationSettingsViewEnabled)"
265+
"* profileExpirationSettingsViewEnabled: \(profileExpirationSettingsViewEnabled)",
266+
"* missedMealNotifications: \(missedMealNotifications)"
257267
].joined(separator: "\n")
258268
}
259269
}

Loop.xcodeproj/project.pbxproj

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -396,6 +396,7 @@
396396
B40D07C7251A89D500C1C6D7 /* GlucoseDisplay.swift in Sources */ = {isa = PBXBuildFile; fileRef = B40D07C6251A89D500C1C6D7 /* GlucoseDisplay.swift */; };
397397
B42C951424A3C76000857C73 /* CGMStatusHUDViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = B42C951324A3C76000857C73 /* CGMStatusHUDViewModel.swift */; };
398398
B42D124328D371C400E43D22 /* AlertMuter.swift in Sources */ = {isa = PBXBuildFile; fileRef = B42D124228D371C400E43D22 /* AlertMuter.swift */; };
399+
B43CF07E29434EC4008A520B /* HowMuteAlertWorkView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B43CF07D29434EC4008A520B /* HowMuteAlertWorkView.swift */; };
399400
B43DA44124D9C12100CAFF4E /* DismissibleHostingController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B43DA44024D9C12100CAFF4E /* DismissibleHostingController.swift */; };
400401
B44251B3252350CE00605937 /* ChartAxisValuesStaticGeneratorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B44251B2252350CE00605937 /* ChartAxisValuesStaticGeneratorTests.swift */; };
401402
B44251B62523578300605937 /* PredictedGlucoseChartTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B44251B52523578300605937 /* PredictedGlucoseChartTests.swift */; };
@@ -413,7 +414,7 @@
413414
B4CAD8792549D2540057946B /* LoopCompletionFreshnessTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4CAD8782549D2540057946B /* LoopCompletionFreshnessTests.swift */; };
414415
B4D4534128E5CA7900F1A8D9 /* AlertMuterTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4D4534028E5CA7900F1A8D9 /* AlertMuterTests.swift */; };
415416
B4D620D424D9EDB900043B3C /* GuidanceColors.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4D620D324D9EDB900043B3C /* GuidanceColors.swift */; };
416-
B4E202302661063E009421B5 /* ClosedLoopStatus.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4E2022F2661063E009421B5 /* ClosedLoopStatus.swift */; };
417+
B4E202302661063E009421B5 /* AutomaticDosingStatus.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4E2022F2661063E009421B5 /* AutomaticDosingStatus.swift */; };
417418
B4E96D4B248A6B6E002DABAD /* DeviceStatusHUDView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4E96D4A248A6B6E002DABAD /* DeviceStatusHUDView.swift */; };
418419
B4E96D4F248A6E20002DABAD /* CGMStatusHUDView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4E96D4E248A6E20002DABAD /* CGMStatusHUDView.swift */; };
419420
B4E96D53248A7386002DABAD /* GlucoseValueHUDView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4E96D52248A7386002DABAD /* GlucoseValueHUDView.swift */; };
@@ -1377,6 +1378,7 @@
13771378
B40D07C6251A89D500C1C6D7 /* GlucoseDisplay.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GlucoseDisplay.swift; sourceTree = "<group>"; };
13781379
B42C951324A3C76000857C73 /* CGMStatusHUDViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CGMStatusHUDViewModel.swift; sourceTree = "<group>"; };
13791380
B42D124228D371C400E43D22 /* AlertMuter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AlertMuter.swift; sourceTree = "<group>"; };
1381+
B43CF07D29434EC4008A520B /* HowMuteAlertWorkView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HowMuteAlertWorkView.swift; sourceTree = "<group>"; };
13801382
B43DA44024D9C12100CAFF4E /* DismissibleHostingController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DismissibleHostingController.swift; sourceTree = "<group>"; };
13811383
B44251B2252350CE00605937 /* ChartAxisValuesStaticGeneratorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChartAxisValuesStaticGeneratorTests.swift; sourceTree = "<group>"; };
13821384
B44251B52523578300605937 /* PredictedGlucoseChartTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PredictedGlucoseChartTests.swift; sourceTree = "<group>"; };
@@ -1391,7 +1393,7 @@
13911393
B4CAD8782549D2540057946B /* LoopCompletionFreshnessTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoopCompletionFreshnessTests.swift; sourceTree = "<group>"; };
13921394
B4D4534028E5CA7900F1A8D9 /* AlertMuterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlertMuterTests.swift; sourceTree = "<group>"; };
13931395
B4D620D324D9EDB900043B3C /* GuidanceColors.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GuidanceColors.swift; sourceTree = "<group>"; };
1394-
B4E2022F2661063E009421B5 /* ClosedLoopStatus.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ClosedLoopStatus.swift; sourceTree = "<group>"; };
1396+
B4E2022F2661063E009421B5 /* AutomaticDosingStatus.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutomaticDosingStatus.swift; sourceTree = "<group>"; };
13951397
B4E96D4A248A6B6E002DABAD /* DeviceStatusHUDView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceStatusHUDView.swift; sourceTree = "<group>"; };
13961398
B4E96D4E248A6E20002DABAD /* CGMStatusHUDView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CGMStatusHUDView.swift; sourceTree = "<group>"; };
13971399
B4E96D52248A7386002DABAD /* GlucoseValueHUDView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GlucoseValueHUDView.swift; sourceTree = "<group>"; };
@@ -1468,6 +1470,7 @@
14681470
C1004E342981F77B00B8CF94 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
14691471
C1004E352981F77B00B8CF94 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
14701472
C101947127DD473C004E7EB8 /* MockKitUI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = MockKitUI.framework; sourceTree = BUILT_PRODUCTS_DIR; };
1473+
C1092BFD29F8116700AE3D1C /* apply-info-customizations.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "apply-info-customizations.sh"; sourceTree = "<group>"; };
14711474
C10B28451EA9BA5E006EA1FC /* far_future_high_bg_forecast.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = far_future_high_bg_forecast.json; sourceTree = "<group>"; };
14721475
C11613482983096D00777E7C /* nb */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nb; path = nb.lproj/InfoPlist.strings; sourceTree = "<group>"; };
14731476
C116134B2983096D00777E7C /* nb */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nb; path = nb.lproj/Localizable.strings; sourceTree = "<group>"; };
@@ -1640,6 +1643,7 @@
16401643
C1E693CF29C786E200410918 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
16411644
C1E693D029C786E200410918 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
16421645
C1E71721292E90CC00DA646F /* SmallStatusWidgetEntryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SmallStatusWidgetEntryView.swift; sourceTree = "<group>"; };
1646+
C1E9CB5A295101570022387B /* install-scenarios.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "install-scenarios.sh"; sourceTree = "<group>"; };
16431647
C1EB0D1D299581D900628475 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
16441648
C1EB0D1E299581D900628475 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = "<group>"; };
16451649
C1EB0D1F299581D900628475 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/InfoPlist.strings; sourceTree = "<group>"; };
@@ -2037,7 +2041,7 @@
20372041
43511CDD21FD80AD00566C63 /* RetrospectiveCorrection */,
20382042
A9FB75F0252BE320004C7D3F /* BolusDosingDecision.swift */,
20392043
C17824A41E1AD4D100D9D25C /* ManualBolusRecommendation.swift */,
2040-
B4E2022F2661063E009421B5 /* ClosedLoopStatus.swift */,
2044+
B4E2022F2661063E009421B5 /* AutomaticDosingStatus.swift */,
20412045
B40D07C6251A89D500C1C6D7 /* GlucoseDisplay.swift */,
20422046
43C2FAE01EB656A500364AFF /* GlucoseEffectVelocity.swift */,
20432047
436A0DA41D236A2A00104B24 /* LoopError.swift */,
@@ -2380,6 +2384,7 @@
23802384
A9A056B224B93C62007CF06D /* CriticalEventLogExportView.swift */,
23812385
C191D2A025B3ACAA00C26C0B /* DosingStrategySelectionView.swift */,
23822386
43D381611EBD9759007F8C8F /* HeaderValuesTableViewCell.swift */,
2387+
B43CF07D29434EC4008A520B /* HowMuteAlertWorkView.swift */,
23832388
430D85881F44037000AF2D4F /* HUDViewTableViewCell.swift */,
23842389
A91D2A3E26CF0FF80023B075 /* IconTitleSubtitleTableViewCell.swift */,
23852390
C1742331259BEADC00399C9D /* ManualEntryDoseView.swift */,
@@ -2892,6 +2897,8 @@
28922897
C18A491222FCC22800FDA733 /* build-derived-assets.sh */,
28932898
C18A491522FCC22900FDA733 /* copy-plugins.sh */,
28942899
C18A491322FCC22900FDA733 /* make_scenario.py */,
2900+
C1E9CB5A295101570022387B /* install-scenarios.sh */,
2901+
C1092BFD29F8116700AE3D1C /* apply-info-customizations.sh */,
28952902
);
28962903
path = Scripts;
28972904
sourceTree = "<group>";
@@ -3115,8 +3122,10 @@
31153122
43776F8A1B8022E90074EA36 /* Resources */,
31163123
43A9439C1B926B7B0051FA24 /* Embed Watch Content */,
31173124
43A943AE1B928D400051FA24 /* Embed Frameworks */,
3125+
C113F4472951352C00758735 /* Install Scenarios */,
31183126
C16DA84322E8E5FF008624C2 /* Install Plugins */,
31193127
C1D19800232CFA2A0096D646 /* Capture Build Details */,
3128+
C1092BFE29F88F0600AE3D1C /* Apply Info Customizations */,
31203129
4F70C1EC1DE8DCA8006380B7 /* Embed App Extensions */,
31213130
);
31223131
buildRules = (
@@ -3653,6 +3662,44 @@
36533662
/* End PBXResourcesBuildPhase section */
36543663

36553664
/* Begin PBXShellScriptBuildPhase section */
3665+
C1092BFE29F88F0600AE3D1C /* Apply Info Customizations */ = {
3666+
isa = PBXShellScriptBuildPhase;
3667+
alwaysOutOfDate = 1;
3668+
buildActionMask = 2147483647;
3669+
files = (
3670+
);
3671+
inputFileListPaths = (
3672+
);
3673+
inputPaths = (
3674+
"$(SRCROOT)/../InfoCustomizations",
3675+
);
3676+
name = "Apply Info Customizations";
3677+
outputFileListPaths = (
3678+
);
3679+
outputPaths = (
3680+
);
3681+
runOnlyForDeploymentPostprocessing = 0;
3682+
shellPath = /bin/sh;
3683+
shellScript = "\"${SRCROOT}/Scripts/apply-info-customizations.sh\"\n";
3684+
};
3685+
C113F4472951352C00758735 /* Install Scenarios */ = {
3686+
isa = PBXShellScriptBuildPhase;
3687+
buildActionMask = 2147483647;
3688+
files = (
3689+
);
3690+
inputFileListPaths = (
3691+
);
3692+
inputPaths = (
3693+
);
3694+
name = "Install Scenarios";
3695+
outputFileListPaths = (
3696+
);
3697+
outputPaths = (
3698+
);
3699+
runOnlyForDeploymentPostprocessing = 0;
3700+
shellPath = /bin/sh;
3701+
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n\"${SRCROOT}/Scripts/install-scenarios.sh\"\n";
3702+
};
36563703
C16DA84322E8E5FF008624C2 /* Install Plugins */ = {
36573704
isa = PBXShellScriptBuildPhase;
36583705
buildActionMask = 2147483647;
@@ -3691,6 +3738,7 @@
36913738
};
36923739
C1D19800232CFA2A0096D646 /* Capture Build Details */ = {
36933740
isa = PBXShellScriptBuildPhase;
3741+
alwaysOutOfDate = 1;
36943742
buildActionMask = 2147483647;
36953743
files = (
36963744
);
@@ -3819,7 +3867,7 @@
38193867
1D49795824E7289700948F05 /* ServicesViewModel.swift in Sources */,
38203868
1D4A3E2D2478628500FD601B /* StoredAlert+CoreDataClass.swift in Sources */,
38213869
892D7C5123B54A15008A9656 /* CarbEntryViewController.swift in Sources */,
3822-
B4E202302661063E009421B5 /* ClosedLoopStatus.swift in Sources */,
3870+
B4E202302661063E009421B5 /* AutomaticDosingStatus.swift in Sources */,
38233871
C191D2A125B3ACAA00C26C0B /* DosingStrategySelectionView.swift in Sources */,
38243872
A977A2F424ACFECF0059C207 /* CriticalEventLogExportManager.swift in Sources */,
38253873
89CA2B32226C18B8004D9350 /* TestingScenariosTableViewController.swift in Sources */,
@@ -3870,6 +3918,7 @@
38703918
4FC8C8011DEB93E400A1452E /* NSUserDefaults+StatusExtension.swift in Sources */,
38713919
43E93FB61E469A4000EAB8DB /* NumberFormatter.swift in Sources */,
38723920
C1FB428C217806A400FAB378 /* StateColorPalette.swift in Sources */,
3921+
B43CF07E29434EC4008A520B /* HowMuteAlertWorkView.swift in Sources */,
38733922
1D6B1B6726866D89009AC446 /* AlertPermissionsChecker.swift in Sources */,
38743923
4F08DE8F1E7BB871006741EA /* CollectionType+Loop.swift in Sources */,
38753924
A9F703772489D8AA00C98AD8 /* PersistentDeviceLog+SimulatedCoreData.swift in Sources */,
@@ -4995,6 +5044,7 @@
49955044
MARKETING_VERSION = 1.0;
49965045
PRODUCT_BUNDLE_IDENTIFIER = "$(MAIN_APP_BUNDLE_IDENTIFIER).SmallStatusWidget";
49975046
PRODUCT_NAME = "$(TARGET_NAME)";
5047+
PROVISIONING_PROFILE_SPECIFIER = "$(LOOP_PROVISIONING_PROFILE_SPECIFIER_WIDGET_EXTENSION_DEBUG)";
49985048
SKIP_INSTALL = YES;
49995049
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
50005050
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -5039,6 +5089,7 @@
50395089
MARKETING_VERSION = 1.0;
50405090
PRODUCT_BUNDLE_IDENTIFIER = "$(MAIN_APP_BUNDLE_IDENTIFIER).SmallStatusWidget";
50415091
PRODUCT_NAME = "$(TARGET_NAME)";
5092+
PROVISIONING_PROFILE_SPECIFIER = "$(LOOP_PROVISIONING_PROFILE_SPECIFIER_WIDGET_EXTENSION_RELEASE)";
50425093
SKIP_INSTALL = YES;
50435094
SWIFT_EMIT_LOC_STRINGS = YES;
50445095
SWIFT_VERSION = 5.0;
@@ -5139,6 +5190,7 @@
51395190
GCC_WARN_UNUSED_LABEL = YES;
51405191
GCC_WARN_UNUSED_PARAMETER = YES;
51415192
GCC_WARN_UNUSED_VARIABLE = YES;
5193+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
51425194
LOCALIZED_STRING_MACRO_NAMES = (
51435195
NSLocalizedString,
51445196
CFLocalizedString,
@@ -5248,6 +5300,7 @@
52485300
GCC_WARN_UNUSED_LABEL = YES;
52495301
GCC_WARN_UNUSED_PARAMETER = YES;
52505302
GCC_WARN_UNUSED_VARIABLE = YES;
5303+
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
52515304
LOCALIZED_STRING_MACRO_NAMES = (
52525305
NSLocalizedString,
52535306
CFLocalizedString,

Loop.xcodeproj/xcshareddata/xcschemes/DoseMathTests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1430"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Loop.xcodeproj/xcshareddata/xcschemes/Loop Intent Extension.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1430"
44
wasCreatedForAppExtension = "YES"
55
version = "2.0">
66
<BuildAction

Loop.xcodeproj/xcshareddata/xcschemes/Loop Status Extension.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1430"
44
wasCreatedForAppExtension = "YES"
55
version = "2.0">
66
<BuildAction

Loop.xcodeproj/xcshareddata/xcschemes/Loop.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1430"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "NO"

Loop.xcodeproj/xcshareddata/xcschemes/LoopTests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1430"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Loop.xcodeproj/xcshareddata/xcschemes/SmallStatusWidgetExtension.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1430"
44
wasCreatedForAppExtension = "YES"
55
version = "2.0">
66
<BuildAction

Loop.xcodeproj/xcshareddata/xcschemes/WatchApp.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1330"
3+
LastUpgradeVersion = "1430"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Loop/AppDelegate.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ final class AppDelegate: UIResponder, UIApplicationDelegate, WindowProvider {
4545

4646
func applicationWillEnterForeground(_ application: UIApplication) {
4747
log.default(#function)
48+
49+
loopAppManager.askUserToConfirmCrashIfNecessary()
4850
}
4951

5052
func applicationWillTerminate(_ application: UIApplication) {

0 commit comments

Comments
 (0)