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
@@ -660,7 +660,9 @@ function TouchMenu:updateItems()
|
||||
batt_symbol = ""
|
||||
end
|
||||
end
|
||||
time_info_txt = BD.wrap(time_info_txt) .. " " .. BD.wrap("⌁") .. BD.wrap(batt_symbol) .. BD.wrap(batt_lvl .. "%")
|
||||
if not Device:isDesktop() then
|
||||
time_info_txt = BD.wrap(time_info_txt) .. " " .. BD.wrap("⌁") .. BD.wrap(batt_symbol) .. BD.wrap(batt_lvl .. "%")
|
||||
end
|
||||
self.time_info:setText(time_info_txt)
|
||||
|
||||
-- recalculate dimen based on new layout
|
||||
|
||||
Reference in new issue
Block a user