ankidroid / ankidroid/Anki-Android

Show relevant toast message as "Please login to download more decks"

未关闭
#19,876 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
2.23 Priority-High
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

### 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))

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。