Revert "Prevent extra commas"

This reverts commit e8aef9ae68.
pull/194/merge
M66B 3 years ago
parent e8aef9ae68
commit 7deb0d1283

@ -2066,9 +2066,7 @@ public class MessageHelper {
static String formatAddressesCompose(Address[] addresses) { static String formatAddressesCompose(Address[] addresses) {
String result = formatAddresses(addresses, true, true); String result = formatAddresses(addresses, true, true);
if (result != null && result.endsWith(",")) if (!TextUtils.isEmpty(result))
result += " ";
else if (!TextUtils.isEmpty(result))
result += ", "; result += ", ";
return result; return result;
} }

Loading…
Cancel
Save