mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Fix Swift 6.4 warnings (#6240)
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user