mirror of
https://github.com/koreader/koreader.git
synced 2025-12-24 12:14:05 +01:00
[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:
@@ -136,6 +136,7 @@ function EvernoteExporter:addToMainMenu(menu_items)
|
|||||||
{
|
{
|
||||||
text = _("Joplin") ,
|
text = _("Joplin") ,
|
||||||
checked_func = function() return self.joplin_export end,
|
checked_func = function() return self.joplin_export end,
|
||||||
|
separator = true,
|
||||||
sub_item_table ={
|
sub_item_table ={
|
||||||
{
|
{
|
||||||
text = _("Set Joplin IP and Port"),
|
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…"),
|
text = _("Exporting may take several minutes…"),
|
||||||
timeout = 1,
|
timeout = 1,
|
||||||
})
|
})
|
||||||
end
|
end,
|
||||||
|
separator = true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text = _("Export to local JSON files"),
|
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
|
self.joplin_export = false
|
||||||
end
|
end
|
||||||
self:saveSettings()
|
self:saveSettings()
|
||||||
end
|
end,
|
||||||
|
separator = true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text = _("Purge history records"),
|
text = _("Purge history records"),
|
||||||
|
|||||||
Reference in New Issue
Block a user