소스 검색

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