Skip to content

Commit

Permalink
feat: disable new spans in WHOLE Telegram
Browse files Browse the repository at this point in the history
Signed-off-by: Next Alone <[email protected]>
  • Loading branch information
NextAlone committed Aug 16, 2024
1 parent 906b49e commit c689346
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -563,12 +563,7 @@ public void setTextAndValueAndIcon(CharSequence text, CharSequence value, boolea
}

public static CharSequence applyNewSpan(CharSequence str) {
SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(str);
spannableStringBuilder.append(" d");
FilterCreateActivity.NewSpan span = new FilterCreateActivity.NewSpan(10);
span.setColor(Theme.getColor(Theme.key_premiumGradient1));
spannableStringBuilder.setSpan(span, spannableStringBuilder.length() - 1, spannableStringBuilder.length(), 0);
return spannableStringBuilder;
return str;
}

public void setColorfulIcon(int color, int resId) {
Expand Down

0 comments on commit c689346

Please sign in to comment.