mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Manually publish room list range updates when the content isn't scrollable
This commit is contained in:
@@ -146,6 +146,8 @@ struct HomeScreenContent: View {
|
||||
}
|
||||
|
||||
guard scrollView.contentSize.height > scrollView.bounds.height else {
|
||||
// This list never scrolls, publish the range manually.
|
||||
context.send(viewAction: .updateVisibleItemRange(0..<context.viewState.visibleRooms.count))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user