mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 14:03:55 -05:00
Fix/remove the lower limit of interval when set due date
This commit is contained in:
parent
1e6d12b830
commit
aed2c3168c
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ impl Card {
|
|||
fn schedule_as_review(&mut self, interval: u32, due: i32, ease_factor: u16) {
|
||||
self.original_position = self.last_position();
|
||||
self.remove_from_filtered_deck_before_reschedule();
|
||||
self.interval = interval.max(1);
|
||||
self.interval = interval;
|
||||
self.due = due;
|
||||
self.ctype = CardType::Review;
|
||||
self.queue = CardQueue::Review;
|
||||
|
|
|
|||
Loading…
Reference in a new issue