mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-02 17:50:00 +00:00
ios: fix showing first unread (#5703)
This commit is contained in:
@@ -476,7 +476,7 @@ class EndlessScrollView<ScrollItem>: UIScrollView, UIScrollViewDelegate, UIGestu
|
||||
if index >= listState.items.count || listState.isScrolling || listState.isAnimatedScrolling {
|
||||
return
|
||||
}
|
||||
if bounds.height == 0 {
|
||||
if bounds.height == 0 || contentSize.height == 0 {
|
||||
scrollToItemIndexDelayed = index
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user