From 8efc0522f27c170acd73d08d1879a2977932ab2d Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 20 Aug 2020 20:03:30 +0100 Subject: [PATCH] load unread count after fetching remote notifications --- app/src/main/java/io/lbry/browser/MainActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/lbry/browser/MainActivity.java b/app/src/main/java/io/lbry/browser/MainActivity.java index ab7134b4..4025e915 100644 --- a/app/src/main/java/io/lbry/browser/MainActivity.java +++ b/app/src/main/java/io/lbry/browser/MainActivity.java @@ -3254,6 +3254,8 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener @Override public void onSuccess(List notifications) { remoteNotifcationsLastLoaded = new Date(); + + loadUnreadNotificationsCount(); loadLocalNotifications(); if (markRead && findViewById(R.id.notifications_container).getVisibility() == View.VISIBLE) { markNotificationsRead();