mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
build fix - ios widget (#15809)
This commit is contained in:
parent
2557282ea3
commit
b71d09a31f
@ -34,6 +34,7 @@ struct SimpleEntry: TimelineEntry {
|
||||
|
||||
struct RetroArchImageView : View {
|
||||
var body: some View {
|
||||
#if swift(>=5.9)
|
||||
if #available(iOSApplicationExtension 17.0, *) {
|
||||
ZStack {
|
||||
AccessoryWidgetBackground()
|
||||
@ -46,6 +47,12 @@ struct RetroArchImageView : View {
|
||||
Image("logo")
|
||||
}
|
||||
}
|
||||
#else
|
||||
ZStack {
|
||||
AccessoryWidgetBackground()
|
||||
Image("logo")
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user