mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
remove unnecessary framecontainer in reader.lua
This commit is contained in:
12
reader.lua
12
reader.lua
@@ -14,23 +14,13 @@ function showReader(file, pass)
|
||||
return
|
||||
end
|
||||
|
||||
local readerwindow = FrameContainer:new{
|
||||
dimen = Screen:getSize(),
|
||||
background = 0,
|
||||
margin = 0,
|
||||
padding = 0,
|
||||
bordersize = 0
|
||||
}
|
||||
local reader = ReaderUI:new{
|
||||
dialog = readerwindow,
|
||||
dimen = Screen:getSize(),
|
||||
document = document,
|
||||
password = pass
|
||||
}
|
||||
|
||||
readerwindow[1] = reader
|
||||
|
||||
UIManager:show(readerwindow)
|
||||
UIManager:show(reader)
|
||||
end
|
||||
|
||||
function showFileManager(path)
|
||||
|
||||
Reference in New Issue
Block a user