don't convert from sm2 when ivl = 0 (#2849)
This commit is contained in:
parent
046ae539fb
commit
3713c86373
@ -160,7 +160,7 @@ impl Card {
|
||||
self.memory_state = item
|
||||
.map(|i| fsrs.memory_state(i.item, i.starting_state))
|
||||
.or_else(|| {
|
||||
if self.ctype == CardType::New {
|
||||
if self.ctype == CardType::New || self.interval == 0 {
|
||||
None
|
||||
} else {
|
||||
// no valid revlog entries; infer state from current card state
|
||||
|
Loading…
Reference in New Issue
Block a user