mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Minor optimizings (elseif)
This commit is contained in:
@@ -134,9 +134,9 @@ function ReaderFooter:updateFooterPage()
|
||||
else
|
||||
if self.mode == 1 then
|
||||
self.progress_text.text = string.format("%d / %d", self.pageno, self.pages)
|
||||
end if self.mode == 2 then
|
||||
elseif self.mode == 2 then
|
||||
self.progress_text.text = os.date("%H:%M")
|
||||
end if self.mode == 3 then
|
||||
elseif self.mode == 3 then
|
||||
self.progress_text.text = "=> " .. self.ui.toc:_getChapterPagesLeft(self.pageno,self.pages)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user