🎨 Distinguish between new cards and review cards during spaced repetition https://github.com/siyuan-note/siyuan/issues/9377

This commit is contained in:
Daniel 2023-12-22 11:31:10 +08:00
parent badaf6ffb8
commit fcd59dffee
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}