[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>.
reviewable/pr6296/r1
Frans de Jonge 4 years ago committed by GitHub
parent 3892e3a84d
commit 1abaa39c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"),

Loading…
Cancel
Save