Returns nothing from RefreshAllAppsWidgetIntent

This commit is contained in:
Riley Testut
2023-09-13 17:25:17 -05:00
committed by Magesh K
parent ad164997c5
commit f169d48c9a

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