mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
desktop: disable battery on touch menu and reader footer
isDesktop and isEmulator are now different entities
This commit is contained in:
committed by
Martín Fernández
parent
2ae796eb2a
commit
8e831eb756
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user