mirror of
https://github.com/AChep/keyguard-app.git
synced 2025-01-24 03:11:09 +01:00
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
Block a user