Explorar el Código

Merge pull request #251 from paulplant/watch

add .widgetAccentable() to Watch complicationIcon
Deniz Cengiz hace 1 año
padre
commit
8086ecad6e
Se han modificado 1 ficheros con 3 adiciones y 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)
             TrioAccessoryCornerView(entry: entry)
         default:
         default:
             Image("ComplicationIcon")
             Image("ComplicationIcon")
+                .widgetAccentable()
+                .widgetBackground(backgroundView: Color.clear)
         }
         }
     }
     }
 }
 }
@@ -67,6 +69,7 @@ struct TrioAccessoryCircularView: View {
     var body: some View {
     var body: some View {
         Image("ComplicationIcon")
         Image("ComplicationIcon")
             .resizable()
             .resizable()
+            .widgetAccentable()
             .widgetBackground(backgroundView: Color.clear)
             .widgetBackground(backgroundView: Color.clear)
     }
     }
 }
 }