salemlf / hakubun

Cross-platform, third-party Japanese language learning app for use with WaniKani 🦀🐊
GNU General Public License v3.0
31 stars 7 forks source link

Disallow swiping left to retry if no answer has been submitted #374

Closed EricosEagle closed 4 months ago

EricosEagle commented 4 months ago

Hello! Was looking through the code to see if I could fix some of the bugs that I've been seeing, and noticed that you can try to retry a card even though it hasn't been submitted. The code makes sense for the keyboard shortcuts in the web version, but there is no need to allow the user to swipe to retry in this case. This is my first time working in typescript / react, so feedback would be appreciated!