This commit is contained in:
Jarrett Ye 2025-12-02 18:12:15 +08:00
parent 752a7e8ab3
commit 4355b5d1de
No known key found for this signature in database
GPG key ID: EBFC55E0C1A352BB

View file

@ -130,7 +130,9 @@ impl Collection {
// and the card's not new
if let Some(state) = &card.memory_state {
// or in (re)learning and suspended
if card.ctype == CardType::Review && card.queue != CardQueue::Suspended {
if card.ctype == CardType::Review
&& card.queue != CardQueue::Suspended
{
let deck = self
.get_deck(card.original_or_current_deck_id())?
.or_not_found(card.original_or_current_deck_id())?;