|
@@ -59,7 +59,7 @@ class ComplicationController: NSObject, CLKComplicationDataSource {
|
|
|
handler(timelineEntry)
|
|
handler(timelineEntry)
|
|
|
case .modularSmall:
|
|
case .modularSmall:
|
|
|
let template = CLKComplicationTemplateModularSmallRingText(
|
|
let template = CLKComplicationTemplateModularSmallRingText(
|
|
|
- textProvider: CLKTextProvider(format: "%@", "FAX"),
|
|
|
|
|
|
|
+ textProvider: CLKTextProvider(format: "%@", "Open-iAPS"),
|
|
|
fillFraction: 1,
|
|
fillFraction: 1,
|
|
|
ringStyle: .closed
|
|
ringStyle: .closed
|
|
|
)
|
|
)
|
|
@@ -78,7 +78,7 @@ class ComplicationController: NSObject, CLKComplicationDataSource {
|
|
|
handler(timelineEntry)
|
|
handler(timelineEntry)
|
|
|
case .circularSmall:
|
|
case .circularSmall:
|
|
|
let template =
|
|
let template =
|
|
|
- CLKComplicationTemplateCircularSmallSimpleText(textProvider: CLKTextProvider(format: "%@", "FAX"))
|
|
|
|
|
|
|
+ CLKComplicationTemplateCircularSmallSimpleText(textProvider: CLKTextProvider(format: "%@", "Open-iAPS"))
|
|
|
let timelineEntry = CLKComplicationTimelineEntry(date: Date(), complicationTemplate: template)
|
|
let timelineEntry = CLKComplicationTimelineEntry(date: Date(), complicationTemplate: template)
|
|
|
handler(timelineEntry)
|
|
handler(timelineEntry)
|
|
|
default:
|
|
default:
|