DeviceMenu: Colons and more information (#8435)

Add information to device menu entries
This commit is contained in:
zwim
2021-11-23 21:17:07 +01:00
committed by GitHub
parent 1b2b4da9e5
commit e9ba854ff0
8 changed files with 147 additions and 86 deletions

View File

@@ -102,6 +102,7 @@ common_settings.time = {
end,
callback = function()
G_reader_settings:saveSetting("duration_format", "classic")
UIManager:broadcastEvent(Event:new("UpdateFooter", true, true))
end,
},
{
@@ -116,6 +117,7 @@ common_settings.time = {
end,
callback = function()
G_reader_settings:saveSetting("duration_format", "modern")
UIManager:broadcastEvent(Event:new("UpdateFooter", true, true))
end,
},
}
@@ -566,6 +568,7 @@ common_settings.screenshot = {
local Screenshoter = require("ui/widget/screenshoter")
Screenshoter:chooseFolder()
end,
keep_menu_open = true,
}
return common_settings