fix crash

This commit is contained in:
sk
2023-10-06 16:20:16 +02:00
parent 8b8f192dfa
commit 331548b38d

View File

@@ -134,7 +134,7 @@ public class NotificationsListFragment extends BaseStatusListFragment<Notificati
return;
maxID=result.maxID;
onDataLoaded(result.items.stream().filter(n->n.type!=null).collect(Collectors.toList()), !result.items.isEmpty());
bannerHelper.onBannerBecameVisible();
if(bannerHelper!=null) bannerHelper.onBannerBecameVisible();
reloadingFromCache=false;
if (getParentFragment() instanceof NotificationsFragment nf) {
nf.updateMarkAllReadButton();