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()) {
|
if (message.isGeoUri()) {
|
||||||
displayLocationMessage(viewHolder,message);
|
displayLocationMessage(viewHolder,message);
|
||||||
} else if (message.bodyIsOnlyEmojis()) {
|
} else if (message.bodyIsOnlyEmojis()) {
|
||||||
displayEmojiMessage(viewHolder, message.getBody().replaceAll("\\s",""));
|
displayEmojiMessage(viewHolder, message.getBody().trim());
|
||||||
} else if (message.treatAsDownloadable()) {
|
} else if (message.treatAsDownloadable()) {
|
||||||
try {
|
try {
|
||||||
URL url = new URL(message.getBody());
|
URL url = new URL(message.getBody());
|
||||||
|
|
Loading…
Reference in New Issue