ankidroid / ankidroid/Anki-Android

[BUG]: Initial sync with empty AnkiWeb account asks which collection to keep

未关闭
#14,219 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
2.16 2.17 Bug Keep Open Needs Triage
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

### Checked for duplicates?

- [X] This issue is not a duplicate

### What are the steps to reproduce this bug?

1. Load a deck into AnkiDroid and study
1. Create a new AnkiWeb account. It has no collections
3. Sync in AnkiDroid. Add email/password

### Expected behaviour

Since the AnkiWeb account is completely empty, AnkiDroid should simply sync to it.

### Actual behaviour

AnkiDroid says:

Select collection to keep

> The collections can't be combined
> Which collection do you want to keep
> Cancel AnkiWeb AnkiDroid

Isn't AnkiDroid able to work out that AnkiWeb is completely empty and sync without asking for this prompt?

### Debug info

```text
2.16.2
```

### (Optional) Anything else you want to share?

.

### Research

- [X] I am reporting a bug specific to AnkiDroid (Android app)
- [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
- [ ] (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 摘要。