mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
9ff5107d34
commit
e7550d12b4
|
@ -91,7 +91,7 @@ public class EntityAnswer implements Serializable {
|
||||||
last = fullName.substring(0, c).trim();
|
last = fullName.substring(0, c).trim();
|
||||||
first = fullName.substring(c + 1).trim();
|
first = fullName.substring(c + 1).trim();
|
||||||
} else {
|
} else {
|
||||||
c = fullName.lastIndexOf(' ');
|
c = fullName.indexOf(' ');
|
||||||
if (c > 0) {
|
if (c > 0) {
|
||||||
first = fullName.substring(0, c).trim();
|
first = fullName.substring(0, c).trim();
|
||||||
last = fullName.substring(c + 1).trim();
|
last = fullName.substring(c + 1).trim();
|
||||||
|
|
Loading…
Reference in New Issue