From c78f152670ec4a1f640c66079df7bf46b112011e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 13 May 2021 22:34:26 -0400 Subject: [PATCH] Animate attachment rows in when picking assets --- Tusker/Screens/Compose/ComposeHostingController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tusker/Screens/Compose/ComposeHostingController.swift b/Tusker/Screens/Compose/ComposeHostingController.swift index 63676e40..7e765052 100644 --- a/Tusker/Screens/Compose/ComposeHostingController.swift +++ b/Tusker/Screens/Compose/ComposeHostingController.swift @@ -288,7 +288,9 @@ extension ComposeHostingController: AssetPickerViewControllerDelegate { let attachments = attachments.map { CompositionAttachment(data: $0) } - draft.attachments.append(contentsOf: attachments) + withAnimation { + draft.attachments.append(contentsOf: attachments) + } } }