From 12861880052dd5096eff8d76462fab67b7dca542 Mon Sep 17 00:00:00 2001 From: Lungu Cristian Date: Tue, 3 Oct 2023 11:17:32 +0300 Subject: [PATCH] fix: show links inside activity-center mention (#17424) --- .../shell/activity_center/notification/mentions/view.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_im2/contexts/shell/activity_center/notification/mentions/view.cljs b/src/status_im2/contexts/shell/activity_center/notification/mentions/view.cljs index 51ef385c75f..f2c6322553d 100644 --- a/src/status_im2/contexts/shell/activity_center/notification/mentions/view.cljs +++ b/src/status_im2/contexts/shell/activity_center/notification/mentions/view.cljs @@ -17,13 +17,14 @@ :style style/tag-text :accessibility-label :activity-message-body :size :paragraph-1}] - (map-indexed (fn [index {:keys [type literal]}] + (map-indexed (fn [index {:keys [type literal destination]}] ^{:key index} (case type "mention" [quo/text {:style style/mention-text :size :paragraph-1} (str "@" (rf/sub [:messages/resolve-mention literal]))] + "link" destination literal)) parsed-text-children))))