[plugin] Add menu separators to Evernote menu (#6294)

This makes the menu structure slightly clearer.
See <https://github.com/koreader/koreader/issues/2778#issuecomment-647324742>.
This commit is contained in:
Frans de Jonge
2020-06-22 10:00:22 +02:00
committed by GitHub
parent 3892e3a84d
commit 1abaa39c27

View File

@@ -136,6 +136,7 @@ function EvernoteExporter:addToMainMenu(menu_items)
{
text = _("Joplin") ,
checked_func = function() return self.joplin_export end,
separator = true,
sub_item_table ={
{
text = _("Set Joplin IP and Port"),
@@ -287,7 +288,8 @@ For more information, please visit https://github.com/koreader/koreader/wiki/Eve
text = _("Exporting may take several minutes…"),
timeout = 1,
})
end
end,
separator = true,
},
{
text = _("Export to local JSON files"),
@@ -326,7 +328,8 @@ For more information, please visit https://github.com/koreader/koreader/wiki/Eve
self.joplin_export = false
end
self:saveSettings()
end
end,
separator = true,
},
{
text = _("Purge history records"),