widgetURL causes my widget to be white instead of filled in with content.

Code Block
var body: some View {
    switch family {
    case .systemSmall:
      ZStack {
        AvatarView(entry.character)
          .foregroundColor(.white)
      }
      .background(Color.gameBackground)
      .widgetURL(entry.character.url)


With that last modifier, I get a white widget in the preview instead of the actual content. Is anyone else seeing this?

Replies

WidgetURL is broken in Beta 1. See https://developer.apple.com/forums/thread/650710