MessageAdapter: trim but don't replace all whitespaces before displaying emoji message
This commit is contained in:
parent
6713431986
commit
874c1f4c74
|
@ -802,7 +802,7 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
|
|||
if (message.isGeoUri()) {
|
||||
displayLocationMessage(viewHolder,message);
|
||||
} else if (message.bodyIsOnlyEmojis()) {
|
||||
displayEmojiMessage(viewHolder, message.getBody().replaceAll("\\s",""));
|
||||
displayEmojiMessage(viewHolder, message.getBody().trim());
|
||||
} else if (message.treatAsDownloadable()) {
|
||||
try {
|
||||
URL url = new URL(message.getBody());
|
||||
|
|
Loading…
Reference in a new issue