desktop: disable battery on touch menu and reader footer

isDesktop and isEmulator are now different entities
This commit is contained in:
Martín Fdez
2020-04-11 17:45:37 +02:00
committed by Martín Fernández
parent 2ae796eb2a
commit 8e831eb756
7 changed files with 12 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ function ReaderFont:init()
end
-- build face_table for menu
self.face_table = {}
if Device:isAndroid() or Device:isDesktop() then
if Device:isAndroid() or Device:isDesktop() or Device:isEmulator() then
table.insert(self.face_table, require("ui/elements/font_settings"):getMenuTable())
end
local face_list = cre.getFontFaces()