[AltWidget] Adopts containerBackground(for:) on iOS 17

This commit is contained in:
Riley Testut
2023-08-18 19:00:57 -05:00
parent e6b0c90c7a
commit ff3fb64277
3 changed files with 40 additions and 1 deletions

View File

@@ -104,7 +104,7 @@ struct WidgetView : View
.frame(maxWidth: .infinity, maxHeight: .infinity)
}
}
.background(backgroundView(icon: entry.app?.icon, tintColor: entry.app?.tintColor))
.widgetBackground(backgroundView(icon: entry.app?.icon, tintColor: entry.app?.tintColor))
}
}