Skip to content

Conversation

@aranasaurus
Copy link

This addresses #1037 and requires changes in LoopKit/LoopKit#304

Copy link
Collaborator

@ps2 ps2 left a comment

Choose a reason for hiding this comment

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

Looks good. Just a small comment change request, and please update from dev and then tests should pass for this.
Thanks!

queue: OperationQueue.main
) { (note) in
self.dataAccessQueue.async {
self.logger.default("Received notification of cached dosing changing")
Copy link
Collaborator

Choose a reason for hiding this comment

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

"cached dosing" -> "insulin delivery store cache"

Copy link
Author

Choose a reason for hiding this comment

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

11a1a03

@aranasaurus aranasaurus requested a review from ps2 October 27, 2019 16:52
@ps2
Copy link
Collaborator

ps2 commented Oct 30, 2019

Doing a little cleanup on names:

LoopKit/LoopKit#307
#1165

self.notify(forChange: .bolus)
}
},
NotificationCenter.default.addObserver(
Copy link
Collaborator

Choose a reason for hiding this comment

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

The addObserver above this is not specifying a name for notifications from doseStore. Could you add the right name? I believe it is DoseStore.valuesDidChange.

Copy link
Author

Choose a reason for hiding this comment

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

Yep I’ll probably be able to do that tomorrow night or this weekend.

@ps2
Copy link
Collaborator

ps2 commented Nov 13, 2019

This can be merged if it is rebased on dev and updated with the new notification name.

@ps2 ps2 closed this Nov 13, 2019
@ps2 ps2 reopened this Nov 13, 2019
@ps2 ps2 closed this Mar 13, 2022
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