From d89a15f74b9bd4cafbb8ab626fc577706c166d8c Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Wed, 13 Sep 2023 17:25:49 -0500 Subject: [PATCH] Conforms RefreshAllAppsWidgetIntent to ForegroundContinuableIntent --- .../Intents/App Intents/RefreshAllAppsWidgetIntent.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift b/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift index 746331d2..04792f50 100644 --- a/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift +++ b/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift @@ -40,6 +40,6 @@ struct RefreshAllAppsWidgetIntent: AppIntent, ProgressReportingIntent // https://mastodon.social/@mgorbach/110812347476671807 // // Unfortunately `ForegroundContinuableIntent` is marked as unavailable in app extensions, -// so we conform to AudioPlaybackIntent instead despite not playing audio ¯\_(ツ)_/¯ -@available(iOS 17, *) -extension RefreshAllAppsWidgetIntent: AudioPlaybackIntent {} +// so we "conform" RefreshAllAppsWidgetIntent to it in an `unavailable` extension ¯\_(ツ)_/¯ +@available(iOS, unavailable) +extension RefreshAllAppsWidgetIntent: ForegroundContinuableIntent {}