diff --git a/app/src/main/java/ch/dissem/apps/abit/MainActivity.kt b/app/src/main/java/ch/dissem/apps/abit/MainActivity.kt index ae95bde..eb150ac 100644 --- a/app/src/main/java/ch/dissem/apps/abit/MainActivity.kt +++ b/app/src/main/java/ch/dissem/apps/abit/MainActivity.kt @@ -438,7 +438,9 @@ class MainActivity : AppCompatActivity(), ListSelectionListener { } else { (item as PrimaryDrawerItem).withBadge(null as String?) } - drawer.updateItem(item) + runOnUiThread { + drawer.updateItem(item) + } } } }