Skip to content

Commit 2248e62

Browse files
committed
Clean up
1 parent 21fbde0 commit 2248e62

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/com/machiav3lli/backup/Constants.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const val PREFS_SHARED_PRIVATE = "com.machiav3lli.backup"
3131
const val ADMIN_PREFIX = "!-"
3232

3333
val COMPRESSION_TYPES = mapOf(
34-
"gz" to "Gzip Compression", // TODO translation?
34+
"gz" to "Gzip Compression", // TODO translation?
3535
"zst" to "Zstd Compression", // TODO translation?
3636
"no" to "No Compression" // TODO translation?
3737
)

src/main/java/com/machiav3lli/backup/utils/ScheduleUtils.kt

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ import java.time.LocalTime
5454
import java.util.concurrent.TimeUnit
5555
import kotlin.math.max
5656

57+
// TODO revamp scheduling fully
58+
5759
fun calculateTimeToRun(schedule: Schedule, now: Long): Long {
5860
val c = Calendar.getInstance()
5961
c.timeInMillis = schedule.timePlaced

0 commit comments

Comments
 (0)