Преглед изворни кода

add .widgetAccentable() to Watch complicationIcon

Paul Plant пре 1 година
родитељ
комит
bdde8da2f6
1 измењених фајлова са 3 додато и 0 уклоњено
  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)
     }
 }