desktop: disable battery on touch menu and reader footer
isDesktop and isEmulator are now different entities
This commit is contained in:
1 parent
2ae796eb2a
commit
8e831eb756
7 files changed
+12
-7
No files matched your search
@@ -336,6 +336,9 @@ function ReaderFooter:init()
|
||||
if not Device:hasFrontlight() then
|
||||
MODE.frontlight = nil
|
||||
end
|
||||
if Device:isDesktop() then
|
||||
MODE.battery = nil
|
||||
end
|
||||
for k, v in pairs(MODE) do
|
||||
mode_tbl[v] = k
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user