mirror of
https://github.com/ankitects/anki.git
synced 2026-01-05 18:13:56 -05:00
format
This commit is contained in:
parent
752a7e8ab3
commit
4355b5d1de
1 changed files with 3 additions and 1 deletions
|
|
@ -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())?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue