ankidroid / ankidroid/Anki-Android
Show relevant toast message as "Please login to download more decks"
- Dominant language
- Kotlin
- Stars
- 11.8k
- Forks
- 2.9k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 171
Description
### 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. Fresh install
2. Download decks from `Get Shared Decks`. When you download deck for the second time. It throws toast message as `Something went wrong`. But the actual reason is `we should log in to download more such decks`
### Expected behaviour
Show a toast message as `Please login to download more decks`
### Debug info
```text
AnkiDroid Version = 2.24.0alpha0-debug (5d54567e67fbaecda137fbc73659705ca3edf9ef)
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)
Android Version = 13 (SDK 33)
ProductFlavor = play
Device Info = Xiaomi | Redmi | peux | peux_in | 2201116SI | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 13; 2201116SI Build/TKQ1.221114.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/143.0.7499.116 Mobile Safari/537.36
ACRA UUID = b2b21780-ca2e-49f8-9314-f6ec934b78d2
FSRS = 5.1.0 (Enabled: false)
Crash Reports Enabled = false
```
### (Optional) Anything else you want to share?
https://github.com/user-attachments/assets/2079e5a1-b43f-4af8-944d-6f925063685a
### 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))
Contributor guide
Assessment
This issue has not been assessed yet.