krmanik / Anki-xiehanzi

Learn, read, write and practice Mandarin by drawing strokes in Anki Desktop, AnkiDroid and AnkiMobile with audio of HSK 2.0 (HSK1-6) and HSK 3.0 (HSK 1-9) characters.
https://krmanik.github.io/Anki-xiehanzi
Other
158 stars 17 forks source link

Hanzi Outline switcher does not work on desktop #3

Closed camayl closed 4 years ago

camayl commented 4 years ago

The switcher for the hanzi outline does not work on the PC. When toggling the switcher to "off", the outline stays visible, and the switcher is back to "on" on the next card.

I also tried it on another PC. Doesn't work.

On mobile it works fine.

Any way to fix this?

krmanik commented 4 years ago

I have created a new deck when all switched off then it is working fine. But changes will get reflect from next card.

https://github.com/infinyte7/Anki-xiehanzi/blob/master/version%201.2/xiehanzi_all_off.apkg?raw=true

Download this and import it to Anki then turn on the things, want to review/learn. Changes will get reflect from next card.

krmanik commented 4 years ago

I tried to turn on but not working there may be some improvement to be done.

krmanik commented 4 years ago

It will work on both AnkiDesktop and AnkiDroid. Download latest version.

krmanik commented 4 years ago

Found the error.

Persistence.setItem("key", true);

It has some error when value is null.

Persistence.setItem("key", "true");

working fine.