Simplified statement
This commit is contained in:
parent
2127c70268
commit
8f1cd4f3de
|
@ -139,16 +139,14 @@ class HomeFragment : Fragment() {
|
|||
}
|
||||
|
||||
|
||||
private fun handleSelectedBankAccountsChanged() {
|
||||
context?.asActivity()?.let { activity ->
|
||||
activity.runOnUiThread {
|
||||
private fun updateMenuItemsStateAndTransactionsToDisplay() {
|
||||
context?.asActivity()?.runOnUiThread {
|
||||
mnitmSearchTransactions.isVisible = presenter.doSelectedBankAccountsSupportRetrievingAccountTransactions
|
||||
mnitmUpdateTransactions.isVisible = presenter.doSelectedBankAccountsSupportRetrievingAccountTransactions
|
||||
|
||||
updateTransactionsToDisplayOnUiThread()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun updateAccountsTransactions() {
|
||||
presenter.updateAccountsTransactionsAsync { }
|
||||
|
|
Loading…
Reference in New Issue