ankidroid / ankidroid/Anki-Android
Adding multiple card types shows "This will create 0 cards."
- Lingua principale
- Kotlin
- Stelle
- 11.8k
- Fork
- 2.9k
- Merge medio
- 2g 3h
- PR unite (30g)
- 171
Descrizione
### Checked for duplicates?
- [x] This issue is not a duplicate
### Does it also happen in the desktop version?
- [x] This bug does not occur in the latest version of Anki Desktop
### What are the steps to reproduce this bug?
1. Make a basic note.
2. Go to manage note types -> Basic -> edit.
3. Add a card type. It should say "This will create 1 card. Proceed?" (or however many basic notes you have).
- If you try to add a card type again, it will say "This will create 0 cards. Proceed?".
### Expected behaviour
It should display "This will create X card(s). Proceed?" where X is the number of notes with that note type.
### Debug info
```text
AnkiDroid Version = 2.24.0alpha2 (a0e65b9054ff4a4da5fa410a834cd0528518c0a6)
Backend Version = 0.1.63-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)
Android Version = 13 (SDK 33)
ProductFlavor = full
Device Info = Xiaomi | POCO | mondrian | mondrian_global | 23013PC75G | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 13; 23013PC75G Build/TKQ1.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/143.0.7499.146 Mobile Safari/537.36
ACRA UUID = 4afc3b3f-e93f-4a66-bc71-2b9476ef9eb0
FSRS = 5.1.0 (Enabled: true)
Crash Reports Enabled = true
```
### (Optional) Anything else you want to share?
The message "This will create X cards." could be lying to the user if some cards end up empty (e.g. using conditional replacement).
A better alternative could be "This can create up to X card(s). Proceed?".
### Research
- [x] I have checked the [manual](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/FAQ) and could not find a solution to my issue
- [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.