Explorar o código

add .widgetAccentable() to Watch complicationIcon

Paul Plant hai 1 ano
pai
achega
bdde8da2f6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Trio Watch Complication/TrioWatchComplication.swift

+ 3 - 0
Trio Watch Complication/TrioWatchComplication.swift

@@ -42,6 +42,8 @@ struct TrioWatchComplicationEntryView: View {
             TrioAccessoryCornerView(entry: entry)
         default:
             Image("ComplicationIcon")
+                .widgetAccentable()
+                .widgetBackground(backgroundView: Color.clear)
         }
     }
 }
@@ -67,6 +69,7 @@ struct TrioAccessoryCircularView: View {
     var body: some View {
         Image("ComplicationIcon")
             .resizable()
+            .widgetAccentable()
             .widgetBackground(backgroundView: Color.clear)
     }
 }