Skip to content

Commit

Permalink
Text color method made public
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmitrevski committed Jul 5, 2022
1 parent ccc5e2e commit 88c7efa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct TopLeftView<Content: View>: View {

extension View {

func textColor(for message: ChatMessage) -> Color {
public func textColor(for message: ChatMessage) -> Color {
@Injected(\.colors) var colors

if message.isSentByCurrentUser {
Expand Down

0 comments on commit 88c7efa

Please sign in to comment.