[chore] Remove frontlightDialog leftover (#6578)

This commit is contained in:
zwim
2020-08-28 13:14:20 +02:00
committed by GitHub
parent 8296beaef1
commit 06bce655c5

View File

@@ -198,14 +198,6 @@ if Device:isAndroid() then
local isAndroid, android = pcall(require, "android")
if not isAndroid then return end
-- overwrite generic frontlight with a native Dialog
common_settings.frontlight = {
text = _("Frontlight"),
callback = function()
Device:showLightDialog()
end,
}
-- screen timeout options, disabled if device needs wakelocks.
common_settings.screen_timeout = require("ui/elements/screen_android"):getTimeoutMenuTable()