PR feedback

Change-Id: I894e1b5ebb150740bc88e4e255955a049f3db053
pull/826/head
TJ Dahunsi 2 years ago
parent ac56e742a4
commit 3c5e83ce25

@ -38,7 +38,7 @@ class WorkManagerSyncManager @Inject constructor(
) : SyncManager { ) : SyncManager {
override val isSyncing: Flow<Boolean> = override val isSyncing: Flow<Boolean> =
WorkManager.getInstance(context).getWorkInfosForUniqueWorkFlow(SyncWorkName) WorkManager.getInstance(context).getWorkInfosForUniqueWorkFlow(SyncWorkName)
.map(MutableList<WorkInfo>::anyRunning) .map(List<WorkInfo>::anyRunning)
.conflate() .conflate()
override fun requestSync() { override fun requestSync() {

Loading…
Cancel
Save