remove unneeded toString() call

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-12-28 09:46:58 +01:00
parent 7261f75549
commit 698ebdfd1c
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -73,7 +73,7 @@ public class MentionAutocompleteCallback implements AutocompleteCallback<Mention
replacementStringBuilder.delete(emojiRange.range.getStart(), emojiRange.range.getEndInclusive());
}
editable.replace(start, end, replacementStringBuilder.toString() + " ");
editable.replace(start, end, replacementStringBuilder + " ");
Spans.MentionChipSpan mentionChipSpan =
new Spans.MentionChipSpan(DisplayUtils.getDrawableForMentionChipSpan(context,
item.getId(),