mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Rename MatrixUserDataSource to UserListDataSource
This commit is contained in:
+1
-1
@@ -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?
|
||||
}
|
||||
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user