mirror of https://github.com/M66B/FairEmail.git
Fixed list continuation
This commit is contained in:
parent
7a2b116bb6
commit
9278fa2eef
|
@ -573,9 +573,10 @@ public class FragmentCompose extends FragmentBase {
|
||||||
if (activity != null)
|
if (activity != null)
|
||||||
activity.onUserInteraction();
|
activity.onUserInteraction();
|
||||||
|
|
||||||
if (before == 0 && count == 1 && start > 0 && text.charAt(start) == '\n') {
|
int index = start + before;
|
||||||
Log.i("Added=" + start);
|
if (count - before == 1 && index > 0 && text.charAt(index) == '\n') {
|
||||||
added = start;
|
Log.i("Added=" + index);
|
||||||
|
added = index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue