mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fixes interactive widget animation continuing indefinitely if error is thrown
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user