Skip to content

Commit

Permalink
vocabbuilder: fix reset word progress bug (#10195)
Browse files Browse the repository at this point in the history
fixes #10194.
  • Loading branch information
weijiuqiao committed Mar 12, 2023
1 parent a3d42ac commit 6267249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/vocabbuilder.koplugin/main.lua
Expand Up @@ -945,6 +945,7 @@ end
function VocabItemWidget:resetProgress()
self.item.review_count = 0
self.item.streak_count = 0
self.item.due_time = os.time()
self.item.review_time = self.item.due_time
self.item.last_due_time = nil
Expand Down

0 comments on commit 6267249

Please sign in to comment.