Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Fix crash when rotating #3956

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions DuckDuckGo/SwipeTabsCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ class SwipeTabsCoordinator: NSObject {
updateLayout()
scrollToCurrent()

let indexPath = IndexPath(row: self.tabsModel.currentIndex, section: 0)
collectionView.reloadItems(at: [indexPath])
collectionView.reloadData()
}

private func updateLayout() {
Expand Down
Loading