Fixed issue with notification count. (#4126)

Co-authored-by: Pratham2305 <Pratham2305@users.noreply.github.com>
This commit is contained in:
Pratham Pahariya 2021-01-01 19:39:48 +05:30 committed by GitHub
parent 8c3c9cf2a7
commit e1be458821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,7 +209,6 @@ public class ContributionsFragment
notification.setOnClickListener(view -> {
NotificationActivity.startYourself(getContext(), "unread");
});
setNotificationCount();
updateLimitedConnectionToggle(menu);
}
@ -412,6 +411,7 @@ public class ContributionsFragment
nearbyNotificationCardView.setVisibility(View.GONE);
}
setNotificationCount();
fetchCampaigns();
}