arianneorpilla / jidoujisho

A full-featured immersion language learning suite for mobile.
GNU General Public License v3.0
912 stars 58 forks source link

Red icon indicating duplicates remains even when the card has been deleted from Ankidroid #240

Closed Shudhanshu-Raj closed 1 year ago

arianneorpilla commented 1 year ago

Generally, the app caches duplicate checks -- It will not check a value from the app again if it has already asked it before. This is to prevent the same duplicate check from running over and over again, when the general use case necessary is only to check this once, and invalidate the cache when the user themselves create cards within the app.

Because AnkiDroid provides no way from my knowledge for API consumers to listen to delete events, there is no way to invalidate this cache if the user deletes a card from AnkiDroid.

Since this issue is fixed when the user restarts the app, and card deletes are an explicit event by the user's consent anyway, I consider this a non-critical issue and will not be issuing a fix.