diff --git a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift index 301b42d1e302..ca49a2f3e0e5 100644 --- a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift +++ b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/ViewModel/BlogDashboardViewModel.swift @@ -156,16 +156,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 { @@ -184,12 +175,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() {