Bugfix for 6cc06bcb98acc05c7677c642adf8ded90ffc8372.

This commit is contained in:
Millesimus 2021-08-22 17:45:23 +02:00 committed by Daniel Gultsch
parent a0529a4e1e
commit 955a6f3fe1
1 changed files with 1 additions and 2 deletions

View File

@ -381,7 +381,6 @@ public class MessageAdapter extends ArrayAdapter<Message> {
// Line start without quote, apply spans there
applyQuoteSpan(body, quoteStart, i - 1, darkBackground);
quoteStart = -1;
quoteDepth++;
}
}
} else {
@ -406,8 +405,8 @@ public class MessageAdapter extends ArrayAdapter<Message> {
if (quoteStart >= 0) {
// Apply spans to finishing open quote
applyQuoteSpan(body, quoteStart, body.length(), darkBackground);
quoteDepth++;
}
quoteDepth++;
}
return startsWithQuote;
}