desktop: disable battery on touch menu and reader footer

isDesktop and isEmulator are now different entities
This commit is contained in:
Martín Fdez authored and Martín Fernández committed 2020-04-13 19:24:28 +02:00
1 parent 2ae796eb2a
commit 8e831eb756
7 files changed
+12 -7

No files matched your search

+1 -1
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()