mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix a crash
This commit is contained in:
parent
12e352c774
commit
5fcb3e12ae
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ public class FragmentMastodonNotification extends Fragment {
|
|||
if (i != refPosition) {
|
||||
if (notifications.get(i).type.equals(notifications.get(refPosition).type)
|
||||
&& (notifications.get(i).type.equals("favourite") || notifications.get(i).type.equals("reblog"))
|
||||
&& notifications.get(i).status.id.equals(notifications.get(refPosition).status.id)
|
||||
&& notifications.get(i).status != null && notifications.get(refPosition).status != null && notifications.get(i).status.id.equals(notifications.get(refPosition).status.id)
|
||||
) {
|
||||
if (notificationList.size() > 0) {
|
||||
if (notificationList.get(notificationList.size() - 1).relatedNotifications == null) {
|
||||
|
|
Loading…
Reference in a new issue