Fixes issue #63 - Emojos are not displayed in the notification column

This commit is contained in:
stom79 2017-11-27 13:11:21 +01:00
parent 978824f8bd
commit 732f482551
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
status.setContents(spannableString);
if( !status.isEmojiFound()) {
for (int i = 0; i < notificationsListAdapter.getItemCount(); i++) {
if (notificationsListAdapter.getItemAt(i) != null && notificationsListAdapter.getItemAt(i).getId().equals(status.getId())) {
if (notificationsListAdapter.getItemAt(i) != null && notificationsListAdapter.getItemAt(i).getStatus() != null && notificationsListAdapter.getItemAt(i).getStatus().getId().equals(status.getId())) {
if( notificationsListAdapter.getItemAt(i).getStatus() != null) {
notificationsListAdapter.getItemAt(i).getStatus().setEmojiFound(true);
notificationsListAdapter.notifyItemChanged(i);