mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix, Android] hasEinkScreen function in eink_opt_menu_table (#4558)
Follow-up to #4557. Ten-second fixes are never a good idea. This hides the E Ink settings menu properly again.
This commit is contained in:
@@ -25,7 +25,7 @@ local eink_settings_table = {
|
||||
},
|
||||
}
|
||||
|
||||
if Device.hasEinkScreen then
|
||||
if Device:hasEinkScreen() then
|
||||
table.insert(eink_settings_table.sub_item_table, 1, require("ui/elements/refresh_menu_table"))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user