mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
MatrixUserRepo : fix tests
This commit is contained in:
+1
-1
@@ -20,5 +20,5 @@ import kotlinx.coroutines.flow.Flow
|
||||
|
||||
interface UserRepository {
|
||||
|
||||
fun search(query: String): Flow<UserSearchResultsState>
|
||||
fun search(query: String): Flow<UserSearchResults>
|
||||
}
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ data class UserSearchResult(
|
||||
val isUnresolved: Boolean = false,
|
||||
)
|
||||
|
||||
data class UserSearchResultsState(
|
||||
data class UserSearchResults(
|
||||
val results: List<UserSearchResult>,
|
||||
val isFetchingSearchResults: Boolean
|
||||
val isFetchingSearchResults: Boolean = false,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user