Skip to content

Commit 0081b60

Browse files
committed
Remove unnecessary option from QuotedMessageContentViewOptions
1 parent 8829152 commit 0081b60

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/StreamChatSwiftUI/ChatChannel/MessageList/QuotedMessageView.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ public struct QuotedMessageView<Factory: ViewFactory>: View {
113113
options: QuotedMessageContentViewOptions(
114114
quotedMessage: quotedMessage,
115115
fillAvailableSpace: fillAvailableSpace,
116-
forceLeftToRight: forceLeftToRight,
117116
attachmentSize: attachmentSize
118117
)
119118
)
@@ -158,20 +157,16 @@ public struct QuotedMessageContentViewOptions {
158157
public let quotedMessage: ChatMessage
159158
/// Whether the quoted container should take all the available space.
160159
public let fillAvailableSpace: Bool
161-
/// Whether to force left to right layout.
162-
public let forceLeftToRight: Bool
163160
/// The size of the attachment preview.
164161
public let attachmentSize: CGSize
165162

166163
public init(
167164
quotedMessage: ChatMessage,
168165
fillAvailableSpace: Bool,
169-
forceLeftToRight: Bool,
170166
attachmentSize: CGSize = CGSize(width: 36, height: 36)
171167
) {
172168
self.quotedMessage = quotedMessage
173169
self.fillAvailableSpace = fillAvailableSpace
174-
self.forceLeftToRight = forceLeftToRight
175170
self.attachmentSize = attachmentSize
176171
}
177172
}

0 commit comments

Comments
 (0)