fix NPE for incoming failed messages

Fixes #2807
// FREEBIE
This commit is contained in:
Jake McGinty 2015-03-27 10:37:59 -07:00
parent 1b846c0842
commit 17383ddfe0

View File

@ -313,8 +313,10 @@ public class ConversationItem extends LinearLayout {
private void setFailedStatusIcons() { private void setFailedStatusIcons() {
dateText.setText(R.string.ConversationItem_error_not_delivered); dateText.setText(R.string.ConversationItem_error_not_delivered);
indicatorText.setText(R.string.ConversationItem_click_for_details); if (indicatorText != null) {
indicatorText.setVisibility(View.VISIBLE); indicatorText.setText(R.string.ConversationItem_click_for_details);
indicatorText.setVisibility(View.VISIBLE);
}
} }
private void setFallbackStatusIcons() { private void setFallbackStatusIcons() {