forked from shadowfacts/Tusker
More logging to try and pin down LazilyDecoding EXC_BAD_ACCESS
This commit is contained in:
parent
aae3bd0bba
commit
6c2c2e6ae7
|
@ -574,6 +574,11 @@ class TimelineViewController: UIViewController, TimelineLikeCollectionViewContro
|
|||
var count = 0
|
||||
while count < 5 {
|
||||
count += 1
|
||||
|
||||
let crumb = Breadcrumb(level: .info, category: "TimelineViewController")
|
||||
crumb.message = "scrollToItem, attempt=\(count)"
|
||||
SentrySDK.addBreadcrumb(crumb)
|
||||
|
||||
let origOffset = self.collectionView.contentOffset
|
||||
self.collectionView.layoutIfNeeded()
|
||||
self.collectionView.scrollToItem(at: indexPath, at: .centeredVertically, animated: false)
|
||||
|
|
Loading…
Reference in New Issue