mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
TextViewer: font size (#10911)
This commit is contained in:
@@ -102,7 +102,7 @@ function PatchManagement:getSubMenu(priority)
|
||||
_("Patches might have changed. Current set of patches will be applied on next restart."))
|
||||
end
|
||||
self.ui.texteditor:quickEditFile(patch_fullpath, done_callback, false)
|
||||
else -- fallback to show only the first lines
|
||||
else
|
||||
local file = io.open(patch_fullpath, "rb")
|
||||
if not file then
|
||||
return ""
|
||||
@@ -114,6 +114,7 @@ function PatchManagement:getSubMenu(priority)
|
||||
textviewer = TextViewer:new{
|
||||
title = patch,
|
||||
text = patch_content,
|
||||
justified = false,
|
||||
}
|
||||
UIManager:show(textviewer)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user