mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-06 17:25:01 -05:00
add missing blank before nick
This commit is contained in:
parent
4793081c2c
commit
28fa48704d
@ -290,6 +290,9 @@ public class ConversationFragment extends Fragment {
|
||||
if (oldString.isEmpty() || mEditMessage.getSelectionStart() == 0) {
|
||||
mEditMessage.getText().insert(0, nick + ": ");
|
||||
} else {
|
||||
if (mEditMessage.getText().charAt(mEditMessage.getSelectionStart()-1)!=' ') {
|
||||
nick = " "+nick;
|
||||
}
|
||||
mEditMessage.getText().insert(mEditMessage.getSelectionStart(), nick + " ");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user