From f3d5430bfe8efb9c7d95df51ba848524640f8033 Mon Sep 17 00:00:00 2001 From: Robert Kozik Date: Mon, 15 Apr 2024 12:43:13 +0200 Subject: [PATCH] remove unnecessary TODO --- .../src/main/java/com/expensify/livemarkdown/MarkdownUtils.java | 1 - ios/RCTMarkdownUtils.mm | 1 - 2 files changed, 2 deletions(-) diff --git a/android/src/main/java/com/expensify/livemarkdown/MarkdownUtils.java b/android/src/main/java/com/expensify/livemarkdown/MarkdownUtils.java index 0087cd75..cf7cf5ff 100644 --- a/android/src/main/java/com/expensify/livemarkdown/MarkdownUtils.java +++ b/android/src/main/java/com/expensify/livemarkdown/MarkdownUtils.java @@ -125,7 +125,6 @@ private void applyRange(SpannableStringBuilder ssb, String type, int start, int setSpan(ssb, new MarkdownBackgroundColorSpan(mMarkdownStyle.getMentionUserBackgroundColor()), start, end); break; case "mention-report": - // TODO: change mention color when it mentions current user setSpan(ssb, new MarkdownForegroundColorSpan(mMarkdownStyle.getMentionReportColor()), start, end); setSpan(ssb, new MarkdownBackgroundColorSpan(mMarkdownStyle.getMentionReportBackgroundColor()), start, end); break; diff --git a/ios/RCTMarkdownUtils.mm b/ios/RCTMarkdownUtils.mm index f9338ef7..879d5cac 100644 --- a/ios/RCTMarkdownUtils.mm +++ b/ios/RCTMarkdownUtils.mm @@ -109,7 +109,6 @@ - (NSAttributedString *)parseMarkdown:(nullable NSAttributedString *)input withA [attributedString addAttribute:NSForegroundColorAttributeName value:_markdownStyle.mentionUserColor range:range]; [attributedString addAttribute:NSBackgroundColorAttributeName value:_markdownStyle.mentionUserBackgroundColor range:range]; } else if ([type isEqualToString:@"mention-report"]) { - // TODO: change mention color when it mentions current user [attributedString addAttribute:NSForegroundColorAttributeName value:_markdownStyle.mentionReportColor range:range]; [attributedString addAttribute:NSBackgroundColorAttributeName value:_markdownStyle.mentionReportBackgroundColor range:range]; } else if ([type isEqualToString:@"link"]) {