mirror of
https://github.com/metabolist/metatext
synced 2025-01-14 19:07:05 +01:00
Line length
This commit is contained in:
parent
b58fa1ac83
commit
9c2c46ed82
@ -397,7 +397,8 @@ private extension CompositionView {
|
|||||||
|
|
||||||
for removal in diff.removals {
|
for removal in diff.removals {
|
||||||
guard case let .remove(_, id, _) = removal,
|
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 }
|
else { continue }
|
||||||
|
|
||||||
attachmentUploadsStackView.arrangedSubviews[index].removeFromSuperview()
|
attachmentUploadsStackView.arrangedSubviews[index].removeFromSuperview()
|
||||||
|
Loading…
Reference in New Issue
Block a user