mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
56edd265d6
commit
199f377951
|
@ -920,7 +920,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
keywords.append(message.keywords[i]);
|
keywords.append(message.keywords[i]);
|
||||||
|
|
||||||
if (message.keyword_colors[i] != null) {
|
if (message.keyword_colors != null &&
|
||||||
|
message.keyword_colors[i] != null) {
|
||||||
int len = keywords.length();
|
int len = keywords.length();
|
||||||
keywords.setSpan(
|
keywords.setSpan(
|
||||||
new ForegroundColorSpan(message.keyword_colors[i]),
|
new ForegroundColorSpan(message.keyword_colors[i]),
|
||||||
|
|
Loading…
Reference in New Issue