Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to cancel from insulin selection screen #722

Merged
merged 1 commit into from
May 31, 2022

Conversation

novalegra
Copy link
Contributor

This PR adds a "cancel" button to the insulin model selection screen to mirror the cancel functionality on other screens within the pump setup flow (see also LoopKit/OmniBLE#46)

Captura de Pantalla 2022-05-29 a la(s) 10 07 32 a m

@@ -127,10 +127,14 @@ public class MinimedPumpManagerSetupViewController: RileyLinkManagerSetupViewCon
public func finishedSettingsDisplay() {
completionDelegate?.completionNotifyingDidComplete(self)
}

public func didCancel() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made this change to unify cancellation when cancelling from SwiftUI vs UIKit

@@ -99,10 +99,14 @@ public class OmnipodPumpManagerSetupViewController: RileyLinkManagerSetupViewCon
public func finishedSettingsDisplay() {
completionDelegate?.completionNotifyingDidComplete(self)
}

public func didCancel() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made this change to unify cancellation when cancelling from SwiftUI vs UIKit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants