fix: Compatibility with latest AndroidX Work

This commit is contained in:
Artem Chepurnoy 2024-10-31 11:46:05 +02:00
parent df10247320
commit 6fdcd4c5c6
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class SyncWorker(
accounts: Set<AccountId> = emptySet(),
): Operation {
val accountIdsArray = accounts
.map { it.id }
.map { it.id as String? }
.toTypedArray()
val uploadWorkRequest = OneTimeWorkRequestBuilder<SyncWorker>()
.setConstraints(constraints)