Returns nothing from RefreshAllAppsWidgetIntent

This commit is contained in:
Riley Testut
2023-09-13 17:25:17 -05:00
parent cfee394739
commit 836f1e3ad1

View File

@@ -18,7 +18,7 @@ struct RefreshAllAppsWidgetIntent: AppIntent, ProgressReportingIntent
private let intent = RefreshAllAppsIntent(presentsNotifications: true) private let intent = RefreshAllAppsIntent(presentsNotifications: true)
#endif #endif
func perform() async throws -> some IntentResult & ProvidesDialog func perform() async throws -> some IntentResult
{ {
#if !WIDGET_EXTENSION #if !WIDGET_EXTENSION
do do
@@ -31,7 +31,7 @@ struct RefreshAllAppsWidgetIntent: AppIntent, ProgressReportingIntent
} }
#endif #endif
return .result(dialog: "") return .result()
} }
} }