From 88c7efa689a2894f31f7dc594ef730c1aba87768 Mon Sep 17 00:00:00 2001 From: martinmitrevski Date: Tue, 5 Jul 2022 09:26:19 +0200 Subject: [PATCH] Text color method made public --- .../ChatChannel/MessageList/MessageListHelperViews.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageListHelperViews.swift b/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageListHelperViews.swift index 992b43a6..6576252e 100644 --- a/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageListHelperViews.swift +++ b/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageListHelperViews.swift @@ -157,7 +157,7 @@ struct TopLeftView: View { extension View { - func textColor(for message: ChatMessage) -> Color { + public func textColor(for message: ChatMessage) -> Color { @Injected(\.colors) var colors if message.isSentByCurrentUser {