mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -624,7 +624,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
return .init(body: messageContent.body, formattedBody: formattedBody, formattedBodyHTMLString: htmlBody)
|
||||
}
|
||||
|
||||
// This fixes the issue of the name not belonging to the first <p> defined paragraph
|
||||
/// This fixes the issue of the name not belonging to the first <p> defined paragraph
|
||||
private func buildEmoteFormattedBodyFromHTML(html: String, name: String) -> AttributedString? {
|
||||
let htmlBodyPlaceholder = "{htmlBodyPlaceholder}"
|
||||
var finalString = AttributedString(L10n.commonEmote(name, htmlBodyPlaceholder))
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
import MatrixRustSDK
|
||||
|
||||
protocol RoomTimelineItemFactoryProtocol {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
//
|
||||
import OrderedCollections
|
||||
|
||||
// Copyright 2025 Element Creations Ltd.
|
||||
// Copyright 2022-2025 New Vector Ltd.
|
||||
//
|
||||
@@ -7,8 +9,6 @@
|
||||
//
|
||||
import SwiftUI
|
||||
|
||||
import OrderedCollections
|
||||
|
||||
struct RoomTimelineItemView: View {
|
||||
@Environment(\.timelineContext) var context
|
||||
@ObservedObject var viewState: RoomTimelineItemViewState
|
||||
|
||||
Reference in New Issue
Block a user