Wip fixing the badges reloading when reading all the items.
This commit is contained in:
parent
f538ed39fc
commit
6d7c4b40f6
@ -1353,6 +1353,10 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener {
|
|||||||
(it.key to ((tagsBadge[it.key] ?: it.value) - it.value))
|
(it.key to ((tagsBadge[it.key] ?: it.value) - it.value))
|
||||||
}.toMap()
|
}.toMap()
|
||||||
|
|
||||||
|
tagsBadge = tagsBadge.map {
|
||||||
|
(it.key to 0)
|
||||||
|
}.toMap()
|
||||||
|
|
||||||
reloadTagsBadges()
|
reloadTagsBadges()
|
||||||
|
|
||||||
getElementsAccordingToTab()
|
getElementsAccordingToTab()
|
||||||
|
Loading…
Reference in New Issue
Block a user