Fix NullPointerException when using the touch friendly message list.
This commit is contained in:
parent
d2cec31d83
commit
8ebbc611e9
1 changed files with 8 additions and 1 deletions
|
@ -2033,8 +2033,15 @@ public class MessageList
|
|||
}
|
||||
|
||||
holder.subject.setTextSize(TypedValue.COMPLEX_UNIT_DIP, mFontSizes.getMessageListSubject());
|
||||
holder.from.setTextSize(TypedValue.COMPLEX_UNIT_DIP, mFontSizes.getMessageListSender());
|
||||
holder.date.setTextSize(TypedValue.COMPLEX_UNIT_DIP, mFontSizes.getMessageListDate());
|
||||
if (mTouchView)
|
||||
{
|
||||
holder.preview.setTextSize(TypedValue.COMPLEX_UNIT_DIP, mFontSizes.getMessageListSender());
|
||||
}
|
||||
else
|
||||
{
|
||||
holder.from.setTextSize(TypedValue.COMPLEX_UNIT_DIP, mFontSizes.getMessageListSender());
|
||||
}
|
||||
|
||||
return view;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue