Returns nothing from RefreshAllAppsWidgetIntent

This commit is contained in:
Riley Testut
2023-09-13 17:25:17 -05:00
committed by Magesh K
parent 6c0cfdf99e
commit 55ccb723e5

View File

@@ -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()
}
}