When switching accounts don't update accounts and folders in drawer twice

This commit is contained in:
cketti 2021-09-06 00:20:31 +02:00
parent c92baae802
commit 9d7b9dd313

View file

@ -168,7 +168,6 @@ class K9Drawer(private val parent: MessageList, savedInstanceState: Bundle?) : K
val account = (profile as ProfileDrawerItem).tag as Account val account = (profile as ProfileDrawerItem).tag as Account
openedAccountUuid = account.uuid openedAccountUuid = account.uuid
val eventHandled = !parent.openRealAccount(account) val eventHandled = !parent.openRealAccount(account)
updateUserAccountsAndFolders(account)
updateButtonBarVisibility(false) updateButtonBarVisibility(false)
eventHandled eventHandled