mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-31 17:45:17 +01:00
Remove dead code (IOS-272)
This commit is contained in:
parent
93b4b04ac2
commit
fe8e0dfdcd
@ -192,18 +192,7 @@ extension HomeTimelineViewController {
|
||||
statusTableViewCellDelegate: self,
|
||||
timelineMiddleLoaderTableViewCellDelegate: self
|
||||
)
|
||||
|
||||
// setup batch fetch
|
||||
viewModel?.listBatchFetchViewModel.setup(scrollView: tableView)
|
||||
viewModel?.listBatchFetchViewModel.shouldFetch
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink { [weak self] _ in
|
||||
guard let self = self else { return }
|
||||
guard self.view.window != nil else { return }
|
||||
self.viewModel?.loadOldestStateMachine.enter(HomeTimelineViewModel.LoadOldestState.Loading.self)
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
|
||||
|
||||
// bind refresh control
|
||||
viewModel?.didLoadLatest
|
||||
.receive(on: DispatchQueue.main)
|
||||
|
Loading…
x
Reference in New Issue
Block a user