ankidroid / ankidroid/Anki-Android

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

Abierto
#19,876 10 comentarios 0 reacciones 0 asignados Ver en GitHub
2.23 Priority-High
Lenguaje dominante
Kotlin
Estrellas
11.8k
Forks
2.9k
Merge medio
2 d 3 h
PR fusionados (30 d)
171

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.