[chore] Remove frontlightDialog leftover (#6578)

reviewable/pr6583/r1
zwim 4 years ago committed by GitHub
parent 8296beaef1
commit 06bce655c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save