From d657ffc8cae1761354f77789161aa7554f06f6f8 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Fri, 8 Sep 2023 16:07:39 -0500 Subject: [PATCH] Fixes interactive widget animation continuing indefinitely if error is thrown --- AltStore/Intents/App Intents/RefreshAllAppsIntent.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AltStore/Intents/App Intents/RefreshAllAppsIntent.swift b/AltStore/Intents/App Intents/RefreshAllAppsIntent.swift index 6b357eb7..5c5387c6 100644 --- a/AltStore/Intents/App Intents/RefreshAllAppsIntent.swift +++ b/AltStore/Intents/App Intents/RefreshAllAppsIntent.swift @@ -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 }