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)
|
||||
activity.onUserInteraction();
|
||||
|
||||
if (before == 0 && count == 1 && start > 0 && text.charAt(start) == '\n') {
|
||||
Log.i("Added=" + start);
|
||||
added = start;
|
||||
int index = start + before;
|
||||
if (count - before == 1 && index > 0 && text.charAt(index) == '\n') {
|
||||
Log.i("Added=" + index);
|
||||
added = index;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue