Skip to content

Commit

Permalink
Placed the snooze label to the lower screen
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermanns committed Feb 14, 2018
1 parent 99cb5c3 commit 15365a5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion nightguard WatchKit App/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>153</string>
<string>154</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
Expand Down
2 changes: 1 addition & 1 deletion nightguard WatchKit Extension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>153</string>
<string>154</string>
<key>CLKComplicationPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).ComplicationController</string>
<key>CLKComplicationSupportedFamilies</key>
Expand Down
7 changes: 3 additions & 4 deletions nightguard WatchKit Extension/InterfaceController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,16 @@ class InterfaceController: WKInterfaceController, WKCrownDelegate {

crownSequencer.focus()
crownSequencer.delegate = self

paintChartData(todaysData: cachedTodaysBgValues, yesterdaysData: cachedYesterdaysBgValues, moveToLatestValue: false)
}

override func didAppear() {

spriteKitView.isPaused = false

crownSequencer.focus()
crownSequencer.delegate = self

paintChartData(todaysData: cachedTodaysBgValues, yesterdaysData: cachedYesterdaysBgValues, moveToLatestValue: false)
}
crownSequencer.delegate = self }

override func willDisappear() {
spriteKitView.isPaused = true
Expand Down
2 changes: 1 addition & 1 deletion nightguard/ChartScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion nightguard/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>153</string>
<string>154</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>
Expand Down
2 changes: 1 addition & 1 deletion nightguardTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>153</string>
<string>154</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion nightguardUITests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>153</string>
<string>154</string>
</dict>
</plist>

0 comments on commit 15365a5

Please sign in to comment.