Update frontend/ui/screensaver.lua

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
reviewable/pr11541/r5
SomeGuy 2 months ago committed by GitHub
parent 7631255071
commit 99b90176c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -167,7 +167,7 @@ function Screensaver:expandSpecial(message, fallback)
elseif currentpage == totalpages then
percent = 100
else
percent = Math.round(Math.clamp(((currentpage * 100) / totalpages), 1, 99))
percent = Math.round(Math.clamp(percent, 1, 99))
end
props = FileManagerBookInfo.extendProps(doc_settings:readSetting("doc_props"), lastfile)
-- Unable to set time_left_chapter and time_left_document without ReaderUI, so leave N/A

Loading…
Cancel
Save