diff --git a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift index 126e56e82b29..01d9764f4d9d 100644 --- a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift +++ b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift @@ -147,16 +147,7 @@ private extension BlogDashboardViewModel { func applySnapshot(for cards: [DashboardCardModel]) { let snapshot = createSnapshot(from: cards) - let scrollView = viewController?.mySiteScrollView - let position = scrollView?.contentOffset - - dataSource?.apply(snapshot, animatingDifferences: false) { [weak self] in - guard let scrollView = scrollView, let position = position else { - return - } - - self?.scroll(scrollView, to: position) - } + dataSource?.apply(snapshot, animatingDifferences: false) } func createSnapshot(from cards: [DashboardCardModel]) -> DashboardSnapshot { @@ -175,12 +166,6 @@ private extension BlogDashboardViewModel { return snapshot } - func scroll(_ scrollView: UIScrollView, to position: CGPoint) { - if position.y > 0 { - scrollView.setContentOffset(position, animated: false) - } - } - // In case a draft is saved and the drafts card // is not appearing, we show it. @objc func showDraftsCardIfNeeded() {