From 3026ae85055b715a846ff965d943977db198601f Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Sat, 14 Apr 2018 20:42:10 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/ch/dissem/apps/abit/MainActivity.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) + } } } }