0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

show number of cards in notes mode (#12397)

This commit is contained in:
Akshit Sinha 2022-09-17 23:07:05 +05:30 committed by GitHub
parent eb0e9ad84a
commit f0b467b9a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2323,7 +2323,7 @@ open class CardBrowser :
Column.SFLD -> card.note().sFld
Column.DECK -> col.decks.name(card.did)
Column.TAGS -> card.note().stringTags()
Column.CARD -> card.template().optString("name")
Column.CARD -> if (inCardMode) card.template().optString("name") else "${card.note().numberOfCards()}"
Column.DUE -> card.dueString
Column.EASE -> if (inCardMode) getEaseForCards() else getAvgEaseForNotes()
Column.CHANGED -> LanguageUtil.getShortDateFormatFromS(if (inCardMode) card.mod else card.note().mod)