Repetitions remake #1

Merged
micialware merged 30 commits from repetitions-remake into master 2026-08-20 19:48:19 +03:00
Showing only changes of commit bb673ed7c7 - Show all commits
+1 -4
View File
@@ -417,10 +417,7 @@ impl RepetitionsState {
for (date, activity) in history {
let distance = now - *date;
let index = counts.len() as i64 - distance.num_days() - 1;
if index == 210 {
println!("invalid index")
}
if index < 0 {
continue;
}