mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
ensure interday learning cards update deck limits
https://forums.ankiweb.net/t/more-cards-today-question-about-v3/12400
This commit is contained in:
parent
79cf49f38d
commit
272a610832
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ impl Collection {
|
||||||
let mut review_delta = 0;
|
let mut review_delta = 0;
|
||||||
match from_queue {
|
match from_queue {
|
||||||
CardQueue::New => new_delta += 1,
|
CardQueue::New => new_delta += 1,
|
||||||
CardQueue::Review => review_delta += 1,
|
CardQueue::Review | CardQueue::DayLearn => review_delta += 1,
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
self.update_deck_stats(
|
self.update_deck_stats(
|
||||||
|
|
Loading…
Reference in a new issue