diff --git a/Passepartout/App/Views/ShortcutsView.swift b/Passepartout/App/Views/ShortcutsView.swift index 81a42f28..bde4108d 100644 --- a/Passepartout/App/Views/ShortcutsView.swift +++ b/Passepartout/App/Views/ShortcutsView.swift @@ -71,9 +71,14 @@ struct ShortcutsView: View { .toolbar { themeCloseItem(presentationMode: presentationMode) }.sheet(item: $modalType, content: presentedModal) + + // reloading .onAppear { intentsManager.reloadShortcuts() - }.onReceive(intentsManager.shouldDismissIntentView) { _ in + }.animation(.default, value: intentsManager.isReloadingShortcuts) + + // IntentsUI + .onReceive(intentsManager.shouldDismissIntentView) { _ in modalType = nil } }