Skip to content

Commit

Permalink
Fix getLocalizableSampleTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 committed Oct 1, 2018
1 parent 768709c commit 0187e95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WatchAppExtension/ComplicationController.swift
Expand Up @@ -74,7 +74,8 @@ class ComplicationController: NSObject, CLKComplicationDataSource {
func getLocalizableSampleTemplate(for complication: CLKComplication,
withHandler handler: @escaping (CLKComplicationTemplate?) -> Void) {
// This method will be called once per supported complication, and the results will be cached
handler(nil)

handler(ComplicationGroupMember(family: complication.family).errorTemplate)
}

}
Expand Down

0 comments on commit 0187e95

Please sign in to comment.