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

@ -112,7 +112,7 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
//multidex //multidex
implementation 'androidx.multidex:multidex:2.0.0' implementation 'androidx.multidex:multidex:2.0.1'
// About // About
implementation('com.mikepenz:aboutlibraries:6.2.0@aar') { implementation('com.mikepenz:aboutlibraries:6.2.0@aar') {

View File

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