load unread count after fetching remote notifications
This commit is contained in:
parent
cead924ca5
commit
8efc0522f2
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue