mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[Desktop] Fix missing glyphs by packaging freefonts again (#6218)
Also disable battery completely from defaults/option in desktop linux as it always return 0%
This commit is contained in:
@@ -308,7 +308,7 @@ function ReaderFooter:init()
|
||||
all_at_once = false,
|
||||
reclaim_height = false,
|
||||
toc_markers = true,
|
||||
battery = true,
|
||||
battery = not Device:isDesktop(),
|
||||
time = true,
|
||||
page_progress = true,
|
||||
pages_left = true,
|
||||
@@ -1536,7 +1536,9 @@ function ReaderFooter:addToMainMenu(menu_items)
|
||||
table.insert(sub_items, getMinibarOption("page_progress"))
|
||||
table.insert(sub_items, getMinibarOption("time"))
|
||||
table.insert(sub_items, getMinibarOption("pages_left"))
|
||||
table.insert(sub_items, getMinibarOption("battery"))
|
||||
if not Device:isDesktop() then
|
||||
table.insert(sub_items, getMinibarOption("battery"))
|
||||
end
|
||||
table.insert(sub_items, getMinibarOption("percentage"))
|
||||
table.insert(sub_items, getMinibarOption("book_time_to_read"))
|
||||
table.insert(sub_items, getMinibarOption("chapter_time_to_read"))
|
||||
|
||||
Reference in New Issue
Block a user