mirror of
https://github.com/metabolist/metatext
synced 2025-01-13 10:34:21 +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 {
|
||||
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 New Issue
Block a user