[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.
pull/4562/head
Frans de Jonge 5 years ago committed by GitHub
parent e6b3542bdb
commit 97f7f75643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save