休息纯计时解耦滑动;重复任务按周期自动生成;统计数字去空格

This commit is contained in:
XIGE
2026-11-28 13:25:28 +08:00
parent ef2fb3a955
commit c3e0c9d67a
11 changed files with 147 additions and 102 deletions

View File

@@ -39,6 +39,7 @@ data class Task(
val sort: Int,
val repeatType: Int, // Repeat.NONE / DAY / WEEK / MONTH
val repeatEvery: Int, // 每 N 天 / 周 / 月
val originId: Long = 0L, // 重复系列的根任务 id;0 表示自己就是根
) {
val repeating: Boolean get() = repeatType != Repeat.NONE && repeatEvery > 0
}