mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Run SwiftFormat.
This commit is contained in:
@@ -70,7 +70,7 @@ struct RoomMessageEventStringBuilder {
|
||||
case .other(_, let body):
|
||||
message = AttributedString(body)
|
||||
}
|
||||
|
||||
|
||||
if style == .senderPrefixed {
|
||||
return prefix(message, with: isOutgoing ? L10n.commonYou : senderDisplayName)
|
||||
} else {
|
||||
@@ -90,7 +90,7 @@ struct RoomMessageEventStringBuilder {
|
||||
return message
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private func buildMessage(for style: Style, caption: String?, type: String) -> AttributedString {
|
||||
guard let caption else {
|
||||
return AttributedString(type)
|
||||
|
||||
Reference in New Issue
Block a user