Rename MatrixUserDataSource to UserListDataSource
This commit is contained in:
parent
5364bbd2cb
commit
4aad2d5ce2
16 changed files with 43 additions and 43 deletions
|
|
@ -19,7 +19,7 @@ package io.element.android.features.userlist.api
|
|||
import io.element.android.libraries.matrix.api.core.UserId
|
||||
import io.element.android.libraries.matrix.ui.model.MatrixUser
|
||||
|
||||
interface MatrixUserDataSource {
|
||||
interface UserListDataSource {
|
||||
suspend fun search(query: String): List<MatrixUser>
|
||||
suspend fun getProfile(userId: UserId): MatrixUser?
|
||||
}
|
||||
|
|
@ -21,6 +21,6 @@ import io.element.android.libraries.architecture.Presenter
|
|||
interface UserListPresenter : Presenter<UserListState> {
|
||||
|
||||
interface Factory {
|
||||
fun create(args: UserListPresenterArgs, matrixUserDataSource: MatrixUserDataSource): UserListPresenter
|
||||
fun create(args: UserListPresenterArgs, userListDataSource: UserListDataSource): UserListPresenter
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue