Merge pull request #6751 from vector-im/johannes/scroll-crash

Fix crash when scrolling chat list
This commit is contained in:
Johannes Marbach
2022-09-21 08:25:10 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -352,7 +352,7 @@ class AllChatsViewController: HomeViewController {
private var initialScrollPosition: Double = 0
private func scrollPosition(of scrollView: UIScrollView) -> Double {
return scrollView.contentOffset.y + scrollView.adjustedContentInset.top + scrollView.adjustedContentInset.bottom
return scrollView.contentOffset.y + scrollView.adjustedContentInset.top
}
override func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
+1
View File
@@ -0,0 +1 @@
Fix crash when scrolling chat list