Fixed that if an account gets added or deleted menu items' state and displayed account transactions get updated
This commit is contained in:
parent
d1b320307e
commit
2127c70268
|
@ -128,7 +128,8 @@ class HomeFragment : Fragment() {
|
|||
|
||||
|
||||
private fun initLogicAfterUiInitialized() {
|
||||
presenter.addSelectedBankAccountsChangedListener { handleSelectedBankAccountsChanged() }
|
||||
presenter.addAccountsChangedListener { updateMenuItemsStateAndTransactionsToDisplay() } // on account addition or deletion may menu items' state changes
|
||||
presenter.addSelectedBankAccountsChangedListener { updateMenuItemsStateAndTransactionsToDisplay() }
|
||||
|
||||
presenter.addRetrievedAccountTransactionsResponseListener { _, response ->
|
||||
handleGetTransactionsResponse(response)
|
||||
|
|
Loading…
Reference in New Issue