From b9248cbb8979acb8b1bdabfe7a6d4430e379cdca Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Tue, 3 May 2022 13:10:58 +0200 Subject: [PATCH] Animate profile removal Fade into WelcomeView. --- Passepartout/App/Views/OrganizerView+Profiles.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Passepartout/App/Views/OrganizerView+Profiles.swift b/Passepartout/App/Views/OrganizerView+Profiles.swift index 0a76bca2..ad56b04b 100644 --- a/Passepartout/App/Views/OrganizerView+Profiles.swift +++ b/Passepartout/App/Views/OrganizerView+Profiles.swift @@ -195,7 +195,9 @@ extension OrganizerView { presentedProfileId = nil } - profileManager.removeProfiles(withIds: toDelete) + withAnimation { + profileManager.removeProfiles(withIds: toDelete) + } } private func performMigrationsIfNeeded() {