Load User-lists initially (#1227)

This commit is contained in:
Nathan Mattes 2024-02-07 14:32:11 +01:00
parent 224defcf27
commit a236e114fd
2 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,8 @@ extension FavoritedByViewController {
self.viewModel.stateMachine.enter(UserListViewModel.State.Loading.self) self.viewModel.stateMachine.enter(UserListViewModel.State.Loading.self)
} }
.store(in: &disposeBag) .store(in: &disposeBag)
viewModel.listBatchFetchViewModel.shouldFetch.send()
} }
override func viewWillAppear(_ animated: Bool) { override func viewWillAppear(_ animated: Bool) {

View File

@ -65,6 +65,8 @@ extension RebloggedByViewController {
self.viewModel.stateMachine.enter(UserListViewModel.State.Loading.self) self.viewModel.stateMachine.enter(UserListViewModel.State.Loading.self)
} }
.store(in: &disposeBag) .store(in: &disposeBag)
viewModel.listBatchFetchViewModel.shouldFetch.send()
} }
override func viewWillAppear(_ animated: Bool) { override func viewWillAppear(_ animated: Bool) {