aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-01-05 19:46:16 +0100
committerfiaxh <git@lightrise.org>2022-01-05 20:10:19 +0100
commitac2af047409c3cd9ecfc3c955da5975e79565961 (patch)
treefa474e754a62e9e3cfb9dcfeb70f3cc26fa33ee5 /main/src/ui/conversation_content_view
parentb3d452265fce5d65d80cc7191747d8a574bbc25d (diff)
downloaddino-ac2af047409c3cd9ecfc3c955da5975e79565961.tar.gz
dino-ac2af047409c3cd9ecfc3c955da5975e79565961.zip
Display message sender in bold+text color instead of small+colored
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r--main/src/ui/conversation_content_view/conversation_item_skeleton.vala4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
index ae2e6018..a14e9019 100644
--- a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
+++ b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
@@ -216,9 +216,7 @@ public class ItemMetaDataHeader : Box {
}
private void update_name_label() {
- string display_name = Markup.escape_text(Util.get_participant_display_name(stream_interactor, conversation, item.jid));
- string color = Util.get_name_hex_color(stream_interactor, conversation.account, item.jid, Util.is_dark_theme(name_label));
- name_label.label = @"<span foreground=\"#$color\">$display_name</span>";
+ name_label.label = Markup.escape_text(Util.get_participant_display_name(stream_interactor, conversation, item.jid));
}
private void update_received_mark() {