Skip to content

Commit

Permalink
remove all cards count subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
RobozinhoD committed Sep 3, 2024
1 parent 015b06f commit f86fcd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 2 additions & 3 deletions AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2152,9 +2152,8 @@ open class DeckPicker :
val res = resources

if (due != null && supportActionBar != null) {
val cardCount = withCol { cardCount() }
val subTitle: String = if (due == 0) {
res.getQuantityString(R.plurals.deckpicker_title_zero_due, cardCount, cardCount)
val subTitle = if (due == 0) {
null
} else {
res.getQuantityString(R.plurals.widget_cards_due, due, due)
}
Expand Down
5 changes: 0 additions & 5 deletions AnkiDroid/src/main/res/values/01-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,6 @@
<string name="sync_conflict_title_new">Select collection to keep</string>
<string name="sync_conflict_replace_title">Replace collection</string>

<plurals name="deckpicker_title_zero_due">
<item quantity="one">%1$d card (0 due)</item>
<item quantity="other">%1$d cards (0 due)</item>
</plurals>

<!-- Generic errors -->
<string name="error__etc__cannot_write_to_or_create_file"
>Cannot write to or create file %s</string>
Expand Down

0 comments on commit f86fcd1

Please sign in to comment.