Fixed that also if an account gets added or remove drawer items and selection state gets updated

This commit is contained in:
dankito 2020-04-29 22:14:25 +02:00
parent 8f1cd4f3de
commit 479f4ec47e
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ open class DrawerView(
activity.runOnUiThread { updateDrawerItems() } activity.runOnUiThread { updateDrawerItems() }
} }
presenter.addSelectedBankAccountsChangedListener {
activity.runOnUiThread { updateDrawerItems() }
}
updateDrawerItems() updateDrawerItems()
} }