load unread count after fetching remote notifications

This commit is contained in:
Akinwale Ariwodola 2020-08-20 20:03:30 +01:00
parent cead924ca5
commit 8efc0522f2

View file

@ -3254,6 +3254,8 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
@Override
public void onSuccess(List<LbryNotification> notifications) {
remoteNotifcationsLastLoaded = new Date();
loadUnreadNotificationsCount();
loadLocalNotifications();
if (markRead && findViewById(R.id.notifications_container).getVisibility() == View.VISIBLE) {
markNotificationsRead();