davidsansome / tsurukame

Tsurukame is an unofficial WaniKani app for iOS. It helps you learn Japanese Kanji.
https://tsurukame.app
Apache License 2.0
261 stars 61 forks source link

Recent mistakes feature clears on updating from API #676

Closed Deadpikle closed 9 months ago

Deadpikle commented 9 months ago

This is my fault on the new feature just merged in today. Recent mistakes work great offline until assignments are synced again from the internet and it clears the most recent mistake time in the local db.

The REPLACE INTO subject_progress in LocalCachingClient.fetchAssignments is the suspected culprit.

I am filing this as I will not have time for another day or so to fix. I'll take responsibility unless someone else gets to it first. Sorry about that.