mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
iOS 17/Xcode 15 update: Fix iOS Widget (#15796)
This commit is contained in:
parent
0ef36ab15f
commit
b6ee341507
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user