[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:
Frans de Jonge
2019-02-08 11:12:43 +01:00
committed by GitHub
parent e6b3542bdb
commit 97f7f75643

View File

@@ -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