Merge pull request #5525 from BlueWallet/complicationanme

FIX: Watch complication name was "BlueWallet"
This commit is contained in:
GLaDOS 2023-05-14 20:57:20 +01:00 committed by GitHub
commit 7c9a5340a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,14 @@ class ComplicationController: NSObject, CLKComplicationDataSource {
handler(nil) handler(nil)
} }
@available(watchOSApplicationExtension 7.0, *)
func complicationDescriptors() async -> [CLKComplicationDescriptor] {
return [CLKComplicationDescriptor(
identifier: "io.bluewallet.bluewallet",
displayName: "Market Price",
supportedFamilies: CLKComplicationFamily.allCases)]
}
func getTimelineEndDate(for complication: CLKComplication, withHandler handler: @escaping (Date?) -> Void) { func getTimelineEndDate(for complication: CLKComplication, withHandler handler: @escaping (Date?) -> Void) {
handler(nil) handler(nil)
} }