Closed
Bug 1196340
Opened 10 years ago
Closed 8 years ago
deleteHistoryTileForSite is wrong
Categories
(Firefox for iOS :: Home screen, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: rnewman, Unassigned)
Details
private func deleteHistoryTileForSite(site: Site, atIndexPath indexPath: NSIndexPath) {
profile.history.removeSiteFromTopSites(site) >>== {
self.profile.history.getSitesByFrecencyWithLimit(self.layout.thumbnailCount).uponQueue(dispatch_get_main_queue(), block: { result in
self.updateDataSourceWithSites(result)
self.deleteOrUpdateSites(result, indexPath: indexPath)
})
}
}
If the history list changes between initial render and deletion, we'll appear to remove the wrong tile.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•