فهرست منبع

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)
     }
 }