Rename RoomDirectoryList.State to RoomDirectoryList.SearchResult to avoid this class to be checked for stability.

This commit is contained in:
Benoit Marty 2025-10-09 17:31:11 +02:00 committed by Benoit Marty
parent 5a48a43655
commit 9410a727b6
5 changed files with 12 additions and 12 deletions

View file

@ -12,7 +12,7 @@ import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.emptyFlow
class FakeRoomDirectoryList(
override val state: Flow<RoomDirectoryList.State> = emptyFlow(),
override val state: Flow<RoomDirectoryList.SearchResult> = emptyFlow(),
val filterLambda: (String?, Int, String?) -> Result<Unit> = { _, _, _ -> Result.success(Unit) },
val loadMoreLambda: () -> Result<Unit> = { Result.success(Unit) }
) : RoomDirectoryList {