From 55ccb723e53959cb95d2b351a60ac71594214775 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Wed, 13 Sep 2023 17:25:17 -0500 Subject: [PATCH] Returns nothing from RefreshAllAppsWidgetIntent --- AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift b/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift index 0045dc5f..746331d2 100644 --- a/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift +++ b/AltStore/Intents/App Intents/RefreshAllAppsWidgetIntent.swift @@ -18,7 +18,7 @@ struct RefreshAllAppsWidgetIntent: AppIntent, ProgressReportingIntent private let intent = RefreshAllAppsIntent(presentsNotifications: true) #endif - func perform() async throws -> some IntentResult & ProvidesDialog + func perform() async throws -> some IntentResult { #if !WIDGET_EXTENSION do @@ -31,7 +31,7 @@ struct RefreshAllAppsWidgetIntent: AppIntent, ProgressReportingIntent } #endif - return .result(dialog: "") + return .result() } }