mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Conforms RefreshAllAppsWidgetIntent to ForegroundContinuableIntent
This commit is contained in:
@@ -40,6 +40,6 @@ struct RefreshAllAppsWidgetIntent: AppIntent, ProgressReportingIntent
|
|||||||
// https://mastodon.social/@mgorbach/110812347476671807
|
// https://mastodon.social/@mgorbach/110812347476671807
|
||||||
//
|
//
|
||||||
// Unfortunately `ForegroundContinuableIntent` is marked as unavailable in app extensions,
|
// Unfortunately `ForegroundContinuableIntent` is marked as unavailable in app extensions,
|
||||||
// so we conform to AudioPlaybackIntent instead despite not playing audio ¯\_(ツ)_/¯
|
// so we "conform" RefreshAllAppsWidgetIntent to it in an `unavailable` extension ¯\_(ツ)_/¯
|
||||||
@available(iOS 17, *)
|
@available(iOS, unavailable)
|
||||||
extension RefreshAllAppsWidgetIntent: AudioPlaybackIntent {}
|
extension RefreshAllAppsWidgetIntent: ForegroundContinuableIntent {}
|
||||||
|
|||||||
Reference in New Issue
Block a user