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:
parent
4fb6346d4b
commit
896d62a81e
11 changed files with 23 additions and 23 deletions
|
|
@ -27,11 +27,11 @@ import timber.log.Timber
|
|||
|
||||
@AssistedInject
|
||||
class VacuumDatabaseWorker(
|
||||
@Assisted workerParams: WorkerParameters,
|
||||
@Assisted params: WorkerParameters,
|
||||
@ApplicationContext private val context: Context,
|
||||
private val matrixClientProvider: MatrixClientProvider,
|
||||
private val analyticsService: AnalyticsService,
|
||||
) : CoroutineWorker(context, workerParams) {
|
||||
) : CoroutineWorker(context, params) {
|
||||
companion object {
|
||||
const val SESSION_ID_PARAM = "session_id"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue