diff --git a/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.swift b/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.swift index 09bd53e9a803..5f39b57adc8f 100644 --- a/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.swift +++ b/pkg/apple/RetroArchWidgetExtension/RetroArchWidgetExtension.swift @@ -34,9 +34,17 @@ struct SimpleEntry: TimelineEntry { struct RetroArchImageView : View { var body: some View { - ZStack { - AccessoryWidgetBackground() - Image("logo") + if #available(iOSApplicationExtension 17.0, *) { + ZStack { + AccessoryWidgetBackground() + Image("logo") + } + .containerBackground(for: .widget) {} + } else { + ZStack { + AccessoryWidgetBackground() + Image("logo") + } } } }