mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
Add mention blankspace
This commit is contained in:
parent
927bcce764
commit
6874cd5bfd
@ -438,7 +438,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
mentionCandidateSelectionView.setOnMentionCandidateSelected( mentionCandidate -> {
|
||||
mentions.add(mentionCandidate);
|
||||
String oldText = composeText.getText().toString();
|
||||
String newText = oldText.substring(0, currentMentionStartIndex) + "@" + mentionCandidate.getDisplayName();
|
||||
String newText = oldText.substring(0, currentMentionStartIndex) + "@" + mentionCandidate.getDisplayName() + " ";
|
||||
composeText.setText(newText);
|
||||
composeText.setSelection(newText.length());
|
||||
currentMentionStartIndex = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user