mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
android: disable wakelocks by default
This commit is contained in:
committed by
Frans de Jonge
parent
23f1597246
commit
6b3158e497
@@ -133,7 +133,7 @@ if Device:isAndroid() then
|
||||
table.insert(common_settings.screen.sub_item_table,
|
||||
{
|
||||
text = _("Keep screen on"),
|
||||
checked_func = function() return not G_reader_settings:isTrue("disable_android_wakelock") end,
|
||||
checked_func = function() return G_reader_settings:isTrue("enable_android_wakelock") end,
|
||||
callback = function() require("ui/elements/screen_android"):toggleWakelock() end,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user