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
committed by Magesh K
parent a1865b6725
commit d657ffc8ca

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
}