Load User-lists initially (#1227)
This commit is contained in:
parent
224defcf27
commit
a236e114fd
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue