KamWithK / AnkiconnectAndroid

Unofficial Ankiconnect for Android (i.e. for Yomichan)
GNU General Public License v3.0
115 stars 14 forks source link

Yomichan add expression button greyed out #21

Closed larkalfen04 closed 1 year ago

larkalfen04 commented 1 year ago

Yomichan status says it is connected with Anki Integration without any problem. I can also use Yomichan in Kiwi Browser and have configured the card format.

But the add expression button is greyed out regardless. Help for guidance. (Anyways I cannot find your discord user)

Aquafina-water-bottle commented 1 year ago

Under Yomichan settings -> Anki -> Configure Anki card format…, can you make sure that neither of the deck / model sections have a red box around them? image

larkalfen04 commented 1 year ago

Screenshot_2023-02-09-06-47-44-92_4d38fce200f96aeac5e860e739312e76 Here is mine.

Aquafina-water-bottle commented 1 year ago

I'm not too sure then, maybe @KamWithK would know? The only other thing I can think of is reset your Yomichan settings and try again from scratch.

This should be unrelated, but as a sanity check: do any of your field names have spaces? There may be a potential bug where if the first field name has a space, the query may not work since the query itself isn't quoted.

larkalfen04 commented 1 year ago

Problem solved. Here is my case. Sometimes scrolling become hard because everytime my finger moves, it opens Yomichan panel. So I disabled (enable content scanning in General tab). I mainly use Yomichan search page on mobile.

Just now I fiddle with Yomichan settings as you suggest. Turns out it seems enable content scanning is necessary. Now I can add card to Anki deck. Thanks!

Aquafina-water-bottle commented 1 year ago

Awesome, glad it's fixed!

One quick note:

Sometimes scrolling become hard because everytime my finger moves, it opens Yomichan panel.

Can you try following the instructions here (specifically step 5)? It personally solved the problem on my device, and the Yomichan panel no longer opens when scrolling.

larkalfen04 commented 1 year ago

Yes it solved the scroll. Your help rly means a lot for me. Thanks 🙏