mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-18 19:56:27 +00:00
Line length
This commit is contained in:
parent
b58fa1ac83
commit
9c2c46ed82
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue