fix posts/bubble banner not disappearing

closes sk22#833
This commit is contained in:
sk
2023-10-06 16:17:18 +02:00
parent 061b2ee3de
commit 8b8f192dfa
2 changed files with 2 additions and 0 deletions

View File

@@ -134,6 +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();
reloadingFromCache=false;
if (getParentFragment() instanceof NotificationsFragment nf) {
nf.updateMarkAllReadButton();

View File

@@ -45,6 +45,7 @@ public class BubbleTimelineFragment extends StatusListFragment {
if (getActivity() == null) return;
result=result.stream().filter(new StatusFilterPredicate(accountID, getFilterContext())).collect(Collectors.toList());
onDataLoaded(result, !result.isEmpty());
bannerHelper.onBannerBecameVisible();
}
})
.exec(accountID);