From 949d9af9d857ad9bd4cbf3d278783acf2aa9b21c Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Mon, 13 Jul 2020 14:12:55 -0500 Subject: [PATCH] Fix compile --- app/src/main/java/org/tasks/jobs/WorkManagerImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/tasks/jobs/WorkManagerImpl.kt b/app/src/main/java/org/tasks/jobs/WorkManagerImpl.kt index e402a7127..178a3a7f7 100644 --- a/app/src/main/java/org/tasks/jobs/WorkManagerImpl.kt +++ b/app/src/main/java/org/tasks/jobs/WorkManagerImpl.kt @@ -191,7 +191,7 @@ class WorkManagerImpl constructor( .setRequiredNetworkType(if (unmeteredOnly) NetworkType.UNMETERED else NetworkType.CONNECTED) .build() - private fun enqueueUnique(key: String, c: Class, time: Long) { + private fun enqueueUnique(key: String, c: Class, time: Long) { val delay = time - DateUtilities.now() val builder = OneTimeWorkRequest.Builder(c) if (delay > 0) {