Hook up the RoomThreadList to the RoomFlowCoordinator state machine and presenting threads.

This commit is contained in:
Stefan Ceriu
2026-04-01 09:27:39 +03:00
committed by Stefan Ceriu
parent 212cd42161
commit a358cacf31
9 changed files with 67 additions and 17 deletions
@@ -7,7 +7,9 @@
import Foundation
enum RoomThreadListScreenViewModelAction { }
enum RoomThreadListScreenViewModelAction {
case presentThread(threadRootEventID: String)
}
struct RoomThreadListScreenViewState: BindableState {
var items = [RoomThreadListItem]()
@@ -22,4 +24,5 @@ struct RoomThreadListScreenViewStateBindings { }
enum RoomThreadListScreenViewAction {
case oldestItemDidAppear
case oldestItemDidDisappear
case tappedThread(threadRootEventID: String)
}