Fix: Status bar hides text with minimal bottom margin (#5135)

With very narrow bottom margin text is sometimes hidden by status bar.
This commit is contained in:
Robert
2019-07-22 20:42:36 +02:00
committed by Frans de Jonge
parent cbba7566b7
commit 69ee8c48cc
4 changed files with 11 additions and 7 deletions

View File

@@ -295,7 +295,11 @@ function ReaderFooter:resetLayout()
end
function ReaderFooter:getHeight()
return self.footer_content:getSize().h
if self.footer_content then
return self.footer_content:getSize().h
else
return 0
end
end
function ReaderFooter:disableFooter()