mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
test: start every test suit with a clean reader setting
This commit is contained in:
@@ -53,6 +53,16 @@ function ReaderFooter:init()
|
||||
book_time_to_read = true,
|
||||
chapter_time_to_read = true,
|
||||
}
|
||||
if self.settings.disabled then
|
||||
self.resetLayout = function() end
|
||||
self.onCloseDocument = function() end
|
||||
self.onPageUpdate = function() end
|
||||
self.onPosUpdate = function() end
|
||||
self.onUpdatePos = function() end
|
||||
self.onSetStatusLine = function() end
|
||||
return
|
||||
end
|
||||
|
||||
self.progress_text = TextWidget:new{
|
||||
text = '',
|
||||
face = Font:getFace(self.text_font_face, self.text_font_size),
|
||||
|
||||
Reference in New Issue
Block a user