Skip to content

Commit 4c3d2d4

Browse files
committed
Fix linter
1 parent ee54afc commit 4c3d2d4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Sources/StreamChatSwiftUI/ChatChannel/MessageList/QuotedMessageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct QuotedMessageViewContainer<Factory: ViewFactory>: View {
2121
fillAvailableSpace: Bool,
2222
forceLeftToRight: Bool = false,
2323
scrolledId: Binding<String?>,
24-
attachmentSize: CGSize = CGSize(width: 36, height: 36),
24+
attachmentSize: CGSize = CGSize(width: 36, height: 36),
2525
quotedAuthorAvatarSize: CGSize = CGSize(width: 24, height: 24)
2626
) {
2727
self.factory = factory

StreamChatSwiftUITests/Tests/ChatChannel/QuotedMessageView_Tests.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,9 @@ class QuotedMessageView_Tests: StreamChatTestCase {
253253
}
254254
}
255255

256-
257256
// MARK: - Custom Football Game Attachment for Custom Quoted Message
258257

259-
fileprivate struct FootballGameAttachmentPayload: AttachmentPayload {
258+
private struct FootballGameAttachmentPayload: AttachmentPayload {
260259
let homeTeam: String
261260
let awayTeam: String
262261
let homeScore: Int
@@ -265,7 +264,7 @@ fileprivate struct FootballGameAttachmentPayload: AttachmentPayload {
265264
static let type: AttachmentType = .init(rawValue: "football_game")
266265
}
267266

268-
fileprivate class CustomQuotedContentViewFactory: ViewFactory {
267+
private class CustomQuotedContentViewFactory: ViewFactory {
269268
@Injected(\.chatClient) var chatClient
270269

271270
private init() {}
@@ -295,7 +294,7 @@ fileprivate class CustomQuotedContentViewFactory: ViewFactory {
295294
}
296295
}
297296

298-
fileprivate struct FootballGameQuotedView: View {
297+
private struct FootballGameQuotedView: View {
299298
@Injected(\.colors) private var colors
300299
@Injected(\.fonts) private var fonts
301300

0 commit comments

Comments
 (0)