🎨 Distinguish between new cards and review cards during spaced repetition https://github.com/siyuan-note/siyuan/issues/9377
This commit is contained in:
parent
badaf6ffb8
commit
fcd59dffee
1 changed files with 2 additions and 2 deletions
|
@ -1020,13 +1020,13 @@ func getDeckDueCards(deck *riff.Deck, reviewedCardIDs, blockIDs []string, newCar
|
|||
}
|
||||
|
||||
if riff.New == c.GetState() {
|
||||
if newCount > newCardLimit {
|
||||
if newCount >= newCardLimit {
|
||||
continue
|
||||
}
|
||||
|
||||
newCount++
|
||||
} else {
|
||||
if reviewCount > reviewCardLimit {
|
||||
if reviewCount >= reviewCardLimit {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue