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
|
@Override
|
||||||
public void onSuccess(List<LbryNotification> notifications) {
|
public void onSuccess(List<LbryNotification> notifications) {
|
||||||
remoteNotifcationsLastLoaded = new Date();
|
remoteNotifcationsLastLoaded = new Date();
|
||||||
|
|
||||||
|
loadUnreadNotificationsCount();
|
||||||
loadLocalNotifications();
|
loadLocalNotifications();
|
||||||
if (markRead && findViewById(R.id.notifications_container).getVisibility() == View.VISIBLE) {
|
if (markRead && findViewById(R.id.notifications_container).getVisibility() == View.VISIBLE) {
|
||||||
markNotificationsRead();
|
markNotificationsRead();
|
||||||
|
|
Loading…
Reference in a new issue