mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-12 05:18:57 +00:00
Tint the website-preview link on SIMPLEX
The website link-preview card shows the page URL under the title in the flat secondary colour — a blue on SIMPLEX — which reads cold over the sunrise gradient while the card's title uses content colour and the message link itself the accent. Route that URL line through simplexSecondaryTint() on SIMPLEX; other themes keep secondary. The compose-bar preview is left as-is — it sits on the flat sent-message colour, not the gradient.
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ fun ChatItemLinkView(linkPreview: LinkPreview, showMenu: State<Boolean>, onLongC
|
||||
if (linkPreview.description != "") {
|
||||
Text(linkPreview.description, maxLines = 12, overflow = TextOverflow.Ellipsis, fontSize = 14.sp, lineHeight = 20.sp)
|
||||
}
|
||||
Text(linkPreview.uri, maxLines = 1, overflow = TextOverflow.Ellipsis, fontSize = 12.sp, color = MaterialTheme.colors.secondary)
|
||||
Text(linkPreview.uri, maxLines = 1, overflow = TextOverflow.Ellipsis, fontSize = 12.sp, color = simplexSecondaryTint())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user