diff --git a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/home/HomeFragment.kt b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/home/HomeFragment.kt index b5b7a686..f73217ca 100644 --- a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/home/HomeFragment.kt +++ b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/home/HomeFragment.kt @@ -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)