Skip to content

Commit c9ee230

Browse files
committed
Merge branch 'dev' into dev-ivan
# Conflicts: # Cartfile.resolved
2 parents 0194ea2 + 430d9ab commit c9ee230

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

Cartfile.resolved

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ github "LoopKit/G4ShareSpy" "e62d296067180c6659166272ff9cc406f470ec9e"
44
github "LoopKit/LoopKit" "16276559436956e2f7cb343b73b767779f9f477f"
55
github "LoopKit/MKRingProgressView" "f548a5c64832be2d37d7c91b5800e284887a2a0a"
66
github "LoopKit/dexcom-share-client-swift" "c4f3d48e56e5b3ad786486ccd1bbc753034096d2"
7-
github "dm61/LoopKit" "abde9e9fd9b228b39b7bf5e3507e93af5900c027"
8-
github "i-schuetz/SwiftCharts" "list"
9-
github "ivalkou/NightscoutAPIClient" "6e36bd3318e2a563bb9a97bf74b30bdb3b593b8a"
10-
github "ps2/rileylink_ios" "9495dd910e0e433198eff9c5decb37c8ea7a0a78"
7+
github "i-schuetz/SwiftCharts" "0.6.5"
8+
github "ps2/rileylink_ios" "92314a08f26e94e271961a629e4d7b898e4e2e4d"

Loop/Managers/LoopDataManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ final class LoopDataManager {
9595
// Observe changes
9696
notificationObservers = [
9797
NotificationCenter.default.addObserver(
98-
forName: .CarbEntriesDidUpdate,
98+
forName: CarbStore.carbEntriesDidUpdate,
9999
object: carbStore,
100100
queue: nil
101101
) { (note) -> Void in
@@ -108,7 +108,7 @@ final class LoopDataManager {
108108
}
109109
},
110110
NotificationCenter.default.addObserver(
111-
forName: .GlucoseSamplesDidChange,
111+
forName: GlucoseStore.glucoseSamplesDidChange,
112112
object: glucoseStore,
113113
queue: nil
114114
) { (note) in

WatchApp Extension/Controllers/CarbEntryListController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CarbEntryListController: WKInterfaceController, IdentifiableClass {
4646

4747
override func willActivate() {
4848
observers = [
49-
NotificationCenter.default.addObserver(forName: .CarbEntriesDidUpdate, object: loopManager.carbStore, queue: nil) { [weak self] (note) in
49+
NotificationCenter.default.addObserver(forName: CarbStore.carbEntriesDidUpdate, object: loopManager.carbStore, queue: nil) { [weak self] (note) in
5050
self?.log.default("Received CarbEntriesDidUpdate notification: %{public}@. Updating list", String(describing: note.userInfo ?? [:]))
5151

5252
DispatchQueue.main.async {

WatchApp Extension/Controllers/ChartHUDController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ final class ChartHUDController: HUDInterfaceController, WKCrownDelegate {
118118
super.willActivate()
119119

120120
observers = [
121-
NotificationCenter.default.addObserver(forName: .GlucoseSamplesDidChange, object: loopManager.glucoseStore, queue: nil) { [weak self] (note) in
121+
NotificationCenter.default.addObserver(forName: GlucoseStore.glucoseSamplesDidChange, object: loopManager.glucoseStore, queue: nil) { [weak self] (note) in
122122
self?.log.default("Received GlucoseSamplesDidChange notification: %{public}@. Updating chart", String(describing: note.userInfo ?? [:]))
123123

124124
DispatchQueue.main.async {

0 commit comments

Comments
 (0)