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