Make sure linear account select is up-to-date

This commit is contained in:
Luna712 2023-11-04 13:12:15 -06:00
parent a9f3f7bdf8
commit 411a2444ff
2 changed files with 3 additions and 1 deletions

View file

@ -307,6 +307,8 @@ object AccountHelper {
recyclerView.setLinearListLayout(isHorizontal = true) recyclerView.setLinearListLayout(isHorizontal = true)
viewModel.handleAccountUpdate(activity)
activity.observe(viewModel.accounts) { liveAccounts -> activity.observe(viewModel.accounts) { liveAccounts ->
recyclerView.adapter = AccountAdapter( recyclerView.adapter = AccountAdapter(
liveAccounts, liveAccounts,