mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Prevent crash
This commit is contained in:
parent
ba42c5c68e
commit
6dc5137c06
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
if (activity != null)
|
||||
activity.onUserInteraction();
|
||||
|
||||
if (before == 0 && count == 1 && text.charAt(start) == '\n') {
|
||||
if (before == 0 && count == 1 && start > 0 && text.charAt(start) == '\n') {
|
||||
// break block quotes
|
||||
boolean broken = false;
|
||||
SpannableStringBuilder ssb = new SpannableStringBuilder(text);
|
||||
|
|
Loading…
Reference in a new issue