-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfast_forward.patch
31 lines (31 loc) · 1.44 KB
/
fast_forward.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/OmniBLE/OmniBLE/PumpManagerUI/ViewControllers/DashUICoordinator.swift b/OmniBLE/OmniBLE/PumpManagerUI/ViewControllers/DashUICoordinator.swift
index 3fca469..cd11d8c 100644
--- a/OmniBLE/OmniBLE/PumpManagerUI/ViewControllers/DashUICoordinator.swift
+++ b/OmniBLE/OmniBLE/PumpManagerUI/ViewControllers/DashUICoordinator.swift
@@ -40,11 +40,11 @@ enum DashUIScreen {
case .insulinTypeSelection:
return .pairAndPrime
case .pairAndPrime:
- return .confirmAttachment
+ return .insertCannula
case .confirmAttachment:
return .insertCannula
case .insertCannula:
- return .checkInsertedCannula
+ return nil
case .checkInsertedCannula:
return .setupComplete
case .setupComplete:
@@ -350,11 +350,7 @@ class DashUICoordinator: UINavigationController, PumpManagerOnboarding, Completi
if pumpManager.state.podState?.needsCommsRecovery == true {
return .pendingCommandRecovery
} else if pumpManager.podCommState == .activating {
- if pumpManager.podAttachmentConfirmed {
- return .insertCannula
- } else {
- return .pairAndPrime // need to finish the priming
- }
+ return .insertCannula
} else if !pumpManager.isOnboarded {
if !pumpManager.initialConfigurationCompleted {
return .firstRunScreen