Update metro to v0.11.0 (#6245)

* Update metro to v0.11.0

* Fix `@AssistedInject` usages

Now the injected variables in the factories must match the names in the constructors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
renovate[bot] 2026-02-25 16:19:47 +01:00 committed by GitHub
parent 4fb6346d4b
commit 896d62a81e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 23 additions and 23 deletions

View file

@ -25,8 +25,8 @@ import kotlinx.coroutines.launch
@AssistedInject
class ViewFilePresenter(
@Assisted("path") val path: String,
@Assisted("name") val name: String,
@Assisted val path: String,
@Assisted val name: String,
private val fileContentReader: FileContentReader,
private val fileShare: FileShare,
private val fileSave: FileSave,
@ -34,8 +34,8 @@ class ViewFilePresenter(
@AssistedFactory
interface Factory {
fun create(
@Assisted("path") path: String,
@Assisted("name") name: String,
path: String,
name: String,
): ViewFilePresenter
}