🐛 Fixed bug

This commit is contained in:
Christian Basler 2018-04-14 20:42:10 +02:00
parent 0d1cfff883
commit 3026ae8505

View File

@ -438,11 +438,13 @@ class MainActivity : AppCompatActivity(), ListSelectionListener<Serializable> {
} else { } else {
(item as PrimaryDrawerItem).withBadge(null as String?) (item as PrimaryDrawerItem).withBadge(null as String?)
} }
runOnUiThread {
drawer.updateItem(item) drawer.updateItem(item)
} }
} }
} }
} }
}
/** /**
* Callback method from [ListSelectionListener] * Callback method from [ListSelectionListener]