Browse Source

Fix NPE

pull/69/head
Alibek Omarov 1 year ago
parent
commit
d8782fdb1a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java

+ 1
- 1
app/src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java View File

@ -102,7 +102,7 @@ public abstract class NotificationViewData {
type == concrete.type &&
Objects.equals(id, concrete.id) &&
account.getId().equals(concrete.account.getId()) &&
emoji.equals(concrete.emoji) &&
(emoji != null && concrete.emoji != null && emoji.equals(concrete.emoji)) &&
(statusViewData == concrete.statusViewData ||
statusViewData != null &&
statusViewData.deepEquals(concrete.statusViewData));

Loading…
Cancel
Save