Update files following swiftformat upgrade

This commit is contained in:
Stefan Ceriu
2026-01-27 08:47:03 +02:00
committed by Stefan Ceriu
parent fe189fcfed
commit 23062901c0
343 changed files with 1502 additions and 1048 deletions
@@ -22,7 +22,7 @@ final class MessageTextView: UITextView, PillAttachmentViewProviderDelegate, UIG
super.addGestureRecognizer(gestureRecognizer)
}
// This prevents the magnifying glass from showing up
/// This prevents the magnifying glass from showing up
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
if otherGestureRecognizer is UILongPressGestureRecognizer {
return false
@@ -9,7 +9,6 @@
import SwiftUI
import SwiftUIIntrospect
import UIKit
import WysiwygComposer
protocol PillAttachmentViewProviderDelegate: AnyObject {
@@ -29,7 +29,6 @@ struct PillView: View {
}
}
@ViewBuilder
private var mainContent: some View {
Text(context.viewState.displayText)
.font(.compound.bodyLGSemibold)
@@ -8,7 +8,7 @@
import Foundation
// In the future we might use this to do some customisation in what is plain text used to represent mentions.
/// In the future we might use this to do some customisation in what is plain text used to represent mentions.
struct PlainMentionBuilder: MentionBuilderProtocol {
func handleEventOnRoomAliasMention(for attributedString: NSMutableAttributedString, in range: NSRange, url: URL, eventID: String, roomAlias: String) { }