Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

[IP-244] Scrolling through history may crash the app

  • Loading branch information
mahmoud-adam85 committed Apr 12, 2019
1 parent 97836ac commit 9d91024363b3c3e24bf804c018670f37c4d468db
Showing with 3 additions and 0 deletions.
  1. +3 −0 Client/Frontend/Home/HistoryPanel.swift
@@ -524,7 +524,10 @@ extension HistoryPanel: UITableViewDataSourcePrefetching {
}

let indexPath = self.groupedSites.add(site, timestamp: TimeInterval.fromMicrosecondTimestamp(latestVisit.date))
/* Cliqz: fixed the section shifting as we don't show `syncAndRecentlyClosed` section
return IndexPath(row: indexPath.row, section: indexPath.section + 1)
*/
return IndexPath(row: indexPath.row, section: indexPath.section)
})

self.tableView.insertRows(at: indexPaths, with: .automatic)

0 comments on commit 9d91024

Please sign in to comment.