fix: Compatibility with latest AndroidX Work
This commit is contained in:
parent
df10247320
commit
6fdcd4c5c6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue