Fixed an issue where the text on the LinkPreview in dark mode wasn't visible
This commit is contained in:
parent
7256cc6871
commit
dbb0cdf0cb
|
@ -11,7 +11,7 @@ final class LinkPreviewView : UIView {
|
|||
private lazy var sentLinkPreviewTextColor: UIColor = {
|
||||
let isOutgoing = (viewItem?.interaction.interactionType() == .outgoingMessage)
|
||||
switch (isOutgoing, AppModeManager.shared.currentAppMode) {
|
||||
case (true, .dark), (false, .light): return .black
|
||||
case (false, .light): return .black
|
||||
case (true, .light): return Colors.grey
|
||||
default: return .white
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue