Fixes interactive widget animation continuing indefinitely if error is thrown

This commit is contained in:
Riley Testut
2023-09-08 16:07:39 -05:00
parent d0609b0269
commit 56e0747893

View File

@@ -7,6 +7,7 @@
//
import AppIntents
import WidgetKit
import AltStoreCore
@@ -127,6 +128,8 @@ struct RefreshAllAppsIntent: AppIntent, CustomIntentMigratedAppIntent, Predictab
}
catch
{
WidgetCenter.shared.reloadAllTimelines()
let intentError = IntentError(error)
throw intentError
}