Remove dead code (IOS-235)
This commit is contained in:
parent
344385f5ef
commit
4eed7df729
|
@ -28,11 +28,6 @@ extension HomeTimelineViewModel {
|
|||
self.viewModel = viewModel
|
||||
}
|
||||
|
||||
override func didEnter(from previousState: GKState?) {
|
||||
super.didEnter(from: previousState)
|
||||
viewModel?.loadLatestStateMachinePublisher.send(self)
|
||||
}
|
||||
|
||||
@MainActor
|
||||
func enter(state: LoadLatestState.Type) {
|
||||
stateMachine?.enter(state)
|
||||
|
|
|
@ -59,7 +59,6 @@ final class HomeTimelineViewModel: NSObject {
|
|||
stateMachine.enter(LoadLatestState.Initial.self)
|
||||
return stateMachine
|
||||
}()
|
||||
lazy var loadLatestStateMachinePublisher = CurrentValueSubject<LoadLatestState?, Never>(nil)
|
||||
|
||||
// bottom loader
|
||||
private(set) lazy var loadOldestStateMachine: GKStateMachine = {
|
||||
|
@ -74,7 +73,6 @@ final class HomeTimelineViewModel: NSObject {
|
|||
stateMachine.enter(LoadOldestState.Initial.self)
|
||||
return stateMachine
|
||||
}()
|
||||
lazy var loadOldestStateMachinePublisher = CurrentValueSubject<LoadOldestState?, Never>(nil)
|
||||
|
||||
var cellFrameCache = NSCache<NSNumber, NSValue>()
|
||||
|
||||
|
|
Loading…
Reference in New Issue