mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Make sure linear account select is up-to-date
This commit is contained in:
parent
a9f3f7bdf8
commit
411a2444ff
2 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue