diff --git a/nightguard WatchKit App/Info.plist b/nightguard WatchKit App/Info.plist index 4a87d68a..25dadd8d 100644 --- a/nightguard WatchKit App/Info.plist +++ b/nightguard WatchKit App/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 153 + 154 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/nightguard WatchKit Extension/Info.plist b/nightguard WatchKit Extension/Info.plist index 485e4584..b53654f1 100644 --- a/nightguard WatchKit Extension/Info.plist +++ b/nightguard WatchKit Extension/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 153 + 154 CLKComplicationPrincipalClass $(PRODUCT_MODULE_NAME).ComplicationController CLKComplicationSupportedFamilies diff --git a/nightguard WatchKit Extension/InterfaceController.swift b/nightguard WatchKit Extension/InterfaceController.swift index 287e9ac6..597f41a4 100644 --- a/nightguard WatchKit Extension/InterfaceController.swift +++ b/nightguard WatchKit Extension/InterfaceController.swift @@ -79,6 +79,8 @@ class InterfaceController: WKInterfaceController, WKCrownDelegate { crownSequencer.focus() crownSequencer.delegate = self + + paintChartData(todaysData: cachedTodaysBgValues, yesterdaysData: cachedYesterdaysBgValues, moveToLatestValue: false) } override func didAppear() { @@ -86,10 +88,7 @@ class InterfaceController: WKInterfaceController, WKCrownDelegate { spriteKitView.isPaused = false crownSequencer.focus() - crownSequencer.delegate = self - - paintChartData(todaysData: cachedTodaysBgValues, yesterdaysData: cachedYesterdaysBgValues, moveToLatestValue: false) - } + crownSequencer.delegate = self } override func willDisappear() { spriteKitView.isPaused = true diff --git a/nightguard/ChartScene.swift b/nightguard/ChartScene.swift index 34f87ff6..a907fac9 100644 --- a/nightguard/ChartScene.swift +++ b/nightguard/ChartScene.swift @@ -103,7 +103,7 @@ class ChartScene : SKScene { self.chartNode.anchorPoint = CGPoint(x: 0, y: 0) self.chartNode.position = CGPoint(x: 0, y: 0) - self.infoLabelNode.position = CGPoint(x: self.size.width / 2, y: self.size.height / 2) + self.infoLabelNode.position = CGPoint(x: self.size.width / 2, y: 20) self.removeAllChildren() self.insertChild(self.chartNode, at: 0) diff --git a/nightguard/Info.plist b/nightguard/Info.plist index a1711334..2914952f 100644 --- a/nightguard/Info.plist +++ b/nightguard/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 153 + 154 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/nightguardTests/Info.plist b/nightguardTests/Info.plist index fe11ab0e..9d8e5efc 100644 --- a/nightguardTests/Info.plist +++ b/nightguardTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 153 + 154 diff --git a/nightguardUITests/Info.plist b/nightguardUITests/Info.plist index fe11ab0e..9d8e5efc 100644 --- a/nightguardUITests/Info.plist +++ b/nightguardUITests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 153 + 154