     private func bindViewModelStates() {
         typealias State = PaginationViewModel<Cursor>.State
 
-        paginationViewModel.state.flatMapLatest { [applicationCurrentyActive] state -> Driver<State> in
+        paginationViewModel.state.flatMap { [applicationCurrentyActive] state -> Driver<State> in
             if applicationCurrentyActive.value {
                 return .just(state)
             } else {


            currentPlaceholderView = errorView
        } else if case .loadingMore = afterState {
            tableView.finishInfiniteScroll()

            tableView.removeInfiniteScroll()

            guard let retryButton = delegate?.retryLoadMoreButton(forPaginationWrapper: self),
                let retryButtonHeigth = delegate?.retryLoadMoreButtonHeight(forPaginationWrapper: self) else {

    // MARK: private stuff

    private func onExhaustedState() {
        removeInfiniteScroll()
    }

    private func addInfiniteScroll() {
