Loading app/src/main/java/foundation/e/advancedprivacy/externalinterfaces/workers/WeeklyReportWorker.kt +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class WeeklyReportWorkerScheduler(private val appContext: Context) { val now = ZonedDateTime.now() var nextDate: LocalDate = now.toLocalDate() nextDate.with(nextOrSame(WeeklyReportUseCase.REPORT_DAY_OF_WEEK)) nextDate = nextDate.with(nextOrSame(WeeklyReportUseCase.REPORT_DAY_OF_WEEK)) // Report has already been created today, // next report will be scheduled for next week Loading Loading
app/src/main/java/foundation/e/advancedprivacy/externalinterfaces/workers/WeeklyReportWorker.kt +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class WeeklyReportWorkerScheduler(private val appContext: Context) { val now = ZonedDateTime.now() var nextDate: LocalDate = now.toLocalDate() nextDate.with(nextOrSame(WeeklyReportUseCase.REPORT_DAY_OF_WEEK)) nextDate = nextDate.with(nextOrSame(WeeklyReportUseCase.REPORT_DAY_OF_WEEK)) // Report has already been created today, // next report will be scheduled for next week Loading