mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Sliding sync tweaks (#470)
* Show the splash screen again after failing to restore a session * Fix visible rooms cold cache not working. Construct the visibleRoomsView before calling the sliding sync builder, process invalid entries directly if the allRoomsView is not available * Stop building custom identifiers for invalidated rooms, we still have duplicates coming from filled ones. * Fix visibleItemRangePublisher debouncer, guard against changing the range while the view isn't "live" yet * Add more logs
This commit is contained in:
@@ -42,9 +42,18 @@ enum HomeScreenViewAction {
|
||||
case updatedVisibleItemRange(Range<Int>)
|
||||
}
|
||||
|
||||
enum HomeScreenRoomListMode {
|
||||
enum HomeScreenRoomListMode: CustomStringConvertible {
|
||||
case skeletons
|
||||
case rooms
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case .rooms:
|
||||
return "Showing rooms"
|
||||
case .skeletons:
|
||||
return "Showing placeholders"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct HomeScreenViewState: BindableState {
|
||||
|
||||
Reference in New Issue
Block a user