Skip to content

Commit d658d5b

Browse files
committed
Remove unnecessary option
1 parent 52137b8 commit d658d5b

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
quotedMessage: quotedMessage,
114114
options: QuotedMessageContentViewOptions(
115115
fillAvailableSpace: fillAvailableSpace,
116-
forceLeftToRight: forceLeftToRight,
117116
attachmentSize: attachmentSize
118117
)
119118
)
@@ -156,18 +155,14 @@ public struct QuotedMessageView<Factory: ViewFactory>: View {
156155
public struct QuotedMessageContentViewOptions {
157156
/// Whether the quoted container should take all the available space.
158157
public let fillAvailableSpace: Bool
159-
/// Whether to force left to right layout.
160-
public let forceLeftToRight: Bool
161158
/// The size of the attachment preview.
162159
public let attachmentSize: CGSize
163160

164161
public init(
165162
fillAvailableSpace: Bool,
166-
forceLeftToRight: Bool,
167163
attachmentSize: CGSize = CGSize(width: 36, height: 36)
168164
) {
169165
self.fillAvailableSpace = fillAvailableSpace
170-
self.forceLeftToRight = forceLeftToRight
171166
self.attachmentSize = attachmentSize
172167
}
173168
}

0 commit comments

Comments
 (0)