This commit is contained in:
aminecmi
2019-01-13 15:58:25 +01:00
parent 722b6cc06d
commit a0aead6491
2 changed files with 2 additions and 11 deletions

View File

@ -1352,16 +1352,7 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener {
).show()
tabNewBadge.removeBadge()
tagsBadge = itemsByTag.map {
(it.key to ((tagsBadge[it.key] ?: it.value) - it.value))
}.toMap()
tagsBadge = tagsBadge.map {
(it.key to 0)
}.toMap()
reloadTagsBadges()
handleDrawerItems()
getElementsAccordingToTab()
} else {