Naming convention and use MatrixMediaLoader instead of MatrixClient for Coil factories.
This commit is contained in:
parent
e0dffa4a46
commit
cef55121cc
11 changed files with 26 additions and 26 deletions
|
|
@ -213,7 +213,7 @@ class RustMatrixClient(
|
|||
featureFlagService = featureFlagService,
|
||||
)
|
||||
|
||||
override val mediaLoader: MatrixMediaLoader = RustMediaLoader(
|
||||
override val matrixMediaLoader: MatrixMediaLoader = RustMediaLoader(
|
||||
baseCacheDirectory = baseCacheDirectory,
|
||||
dispatchers = dispatchers,
|
||||
innerClient = innerClient,
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ object SessionMatrixModule {
|
|||
|
||||
@Provides
|
||||
fun providesMatrixMediaLoader(matrixClient: MatrixClient): MatrixMediaLoader {
|
||||
return matrixClient.mediaLoader
|
||||
return matrixClient.matrixMediaLoader
|
||||
}
|
||||
|
||||
@SessionCoroutineScope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue