Fix sm2_retention getting reset on downgrade/sync

This commit is contained in:
Damien Elmes 2023-10-28 14:44:37 +10:00
parent 20813eeb32
commit f934bc2cf3

View File

@ -434,7 +434,7 @@ impl From<DeckConfig> for DeckConfSchema11 {
fsrs_weights: i.fsrs_weights, fsrs_weights: i.fsrs_weights,
desired_retention: i.desired_retention, desired_retention: i.desired_retention,
reschedule_fsrs_cards: i.reschedule_fsrs_cards, reschedule_fsrs_cards: i.reschedule_fsrs_cards,
sm2_retention: 0.9, sm2_retention: i.sm2_retention,
} }
} }
} }