Skip to content

Commit 0e2bd3e

Browse files
cypheropmaskaravivek
authored andcommitted
update Notification count after notification is marked as read (#2423)
1 parent 5a6402c commit 0e2bd3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/src/main/java/fr/free/nrw/commons/contributions/MainActivity.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,12 @@ public void onRequestPermissionsResult(int requestCode,
491491
}
492492
}
493493

494+
@Override
495+
protected void onResume() {
496+
super.onResume();
497+
setNotificationCount();
498+
}
499+
494500
@Override
495501
protected void onDestroy() {
496502
locationManager.unregisterLocationManager();

0 commit comments

Comments
 (0)