Skip to content

Commit

Permalink
readerhighlight: update_datetime = false
Browse files Browse the repository at this point in the history
  • Loading branch information
hius07 authored Feb 1, 2025
1 parent a736deb commit 9f66583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/apps/reader/modules/readerhighlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2051,7 +2051,7 @@ function ReaderHighlight:saveHighlight(extend_to_sentence)
end
local index = self.ui.annotation:addItem(item)
self.view.footer:maybeUpdateFooter()
self.ui:handleEvent(Event:new("AnnotationsModified", { item, nb_highlights_added = 1 }))
self.ui:handleEvent(Event:new("AnnotationsModified", { item, nb_highlights_added = 1, update_datetime = false }))
return index
end
end
Expand Down

0 comments on commit 9f66583

Please sign in to comment.