Stop refreshing when there are no tasks

pull/3212/head
Alex Baker 11 months ago
parent e59b5cfdc7
commit ec75c8c24c

@ -27,7 +27,7 @@ private const val MAX_TIME = 9999999999999
abstract class TaskDao(private val database: Database) {
@Query("""
SELECT MIN(min_value)
SELECT COALESCE(MIN(min_value), $MAX_TIME)
FROM (
SELECT
MIN(

Loading…
Cancel
Save