From d96d7468a420de3f08ca31bce11d16e50bf509e0 Mon Sep 17 00:00:00 2001 From: Ryan Zhao Date: Fri, 28 Jan 2022 14:04:41 +1100 Subject: [PATCH] fix read more button colour --- .../Message Cells/Content Views/MediaTextOverlayView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Session/Conversations/Message Cells/Content Views/MediaTextOverlayView.swift b/Session/Conversations/Message Cells/Content Views/MediaTextOverlayView.swift index 9be711311..a0c655a5f 100644 --- a/Session/Conversations/Message Cells/Content Views/MediaTextOverlayView.swift +++ b/Session/Conversations/Message Cells/Content Views/MediaTextOverlayView.swift @@ -56,7 +56,7 @@ final class MediaTextOverlayView : UIView { self.readMoreButton = readMoreButton readMoreButton.setTitle("Read More", for: UIControl.State.normal) readMoreButton.titleLabel!.font = .boldSystemFont(ofSize: Values.smallFontSize) - readMoreButton.setTitleColor(.white, for: UIControl.State.normal) + readMoreButton.setTitleColor(self.textColor, for: UIControl.State.normal) readMoreButton.addTarget(self, action: #selector(readMore), for: UIControl.Event.touchUpInside) addSubview(readMoreButton) readMoreButton.pin(.left, to: .left, of: self, withInset: inset)