mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Drop the timeline limit to 1 on the visible rooms sliding sync view
This commit is contained in:
committed by
Stefan Ceriu
parent
58d5346db4
commit
86aec7896b
@@ -252,7 +252,7 @@ class ClientProxy: ClientProxyProtocol {
|
|||||||
// Build the visibleRoomsSlidingSyncView here so that it can take advantage of the SS builder cold cache
|
// Build the visibleRoomsSlidingSyncView here so that it can take advantage of the SS builder cold cache
|
||||||
// We will still register the allRoomsSlidingSyncView later, and than will have no cache
|
// We will still register the allRoomsSlidingSyncView later, and than will have no cache
|
||||||
let visibleRoomsView = try SlidingSyncViewBuilder()
|
let visibleRoomsView = try SlidingSyncViewBuilder()
|
||||||
.timelineLimit(limit: 20)
|
.timelineLimit(limit: 1)
|
||||||
.requiredState(requiredState: slidingSyncRequiredState)
|
.requiredState(requiredState: slidingSyncRequiredState)
|
||||||
.filters(filters: slidingSyncFilters)
|
.filters(filters: slidingSyncFilters)
|
||||||
.name(name: "CurrentlyVisibleRooms")
|
.name(name: "CurrentlyVisibleRooms")
|
||||||
|
|||||||
Reference in New Issue
Block a user