From 9c2c46ed82f0590e450208592240e7be260ce134 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Tue, 30 Mar 2021 22:58:11 -0700 Subject: [PATCH] Line length --- Views/UIKit/CompositionView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Views/UIKit/CompositionView.swift b/Views/UIKit/CompositionView.swift index 48b3e1c..5c0cda0 100644 --- a/Views/UIKit/CompositionView.swift +++ b/Views/UIKit/CompositionView.swift @@ -397,7 +397,8 @@ private extension CompositionView { for removal in diff.removals { guard case let .remove(_, id, _) = removal, - let index = attachmentUploadsStackView.arrangedSubviews.firstIndex(where: { ($0 as? AttachmentUploadView)?.id == id }) + let index = attachmentUploadsStackView.arrangedSubviews + .firstIndex(where: { ($0 as? AttachmentUploadView)?.id == id }) else { continue } attachmentUploadsStackView.arrangedSubviews[index].removeFromSuperview()