Post

Replies

Boosts

Views

Activity

Reply to WidgetKit background like the system battery widget
var body: some View {         VStack{             if self.family == .systemLarge {                 LargeEntryView()             } else if self.family == .systemMedium {                 MediumView()             } else {                 SmallView()             }         }.background(ContainerRelativeShape().fill(Color.init(.sRGB, red: 0.89, green: 0.89, blue: 0.89, opacity: 0.75)))     } works like charms.
Aug ’20