Skip to content
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.

Commit

Permalink
Update sketch
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamazz committed Nov 23, 2015
1 parent e94c52b commit 95ed157
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Gulps WatchKit Extension/ComplicationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ class ComplicationController: NSObject, CLKComplicationDataSource {
}

func getCurrentTimelineEntryForComplication(complication: CLKComplication, withHandler handler: (CLKComplicationTimelineEntry?) -> Void) {
var percentage = 0
if let storedPercentage = WatchEntryHelper.sharedHelper.percentage() {
percentage = storedPercentage
}
let percentage = WatchEntryHelper.sharedHelper.percentage() ?? 0

if complication.family == .UtilitarianSmall {
let smallFlat = CLKComplicationTemplateUtilitarianSmallFlat()
Expand Down
Binary file modified assets/gulps.sketch
Binary file not shown.

0 comments on commit 95ed157

Please sign in to comment.