Fix Swift 6.4 warnings (#6240)

This commit is contained in:
Mauro
2026-10-01 10:55:19 +02:00
committed by GitHub
parent 99c0fa5729
commit 831234865b
28 changed files with 71 additions and 69 deletions
@@ -217,7 +217,7 @@ private class ElementTextView: UITextView, PillAttachmentViewProviderDelegate {
super.init(frame: .zero, textContainer: nil)
// Avoid `Publishing changes from within view update` warnings
DispatchQueue.main.async {
DispatchQueue.main.async { [self] in
presendCallback.wrappedValue = { [weak self] in
self?.acceptCurrentSuggestion()
}