[fix] Remove OPDS menu entry from FilemanagerMenu (#7291)

Fixes #7290.
pull/7294/head
Frans de Jonge 3 years ago committed by GitHub
parent 9f2c45284b
commit 35ff6776a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -327,18 +327,6 @@ function FileManagerMenu:setUpdateItemTable()
sub_item_table = PluginLoader:genPluginManagerSubItem() sub_item_table = PluginLoader:genPluginManagerSubItem()
} }
self.menu_items.opds_catalog = {
text = _("OPDS catalog"),
callback = function()
local OPDSCatalog = require("apps/opdscatalog/opdscatalog")
local filemanagerRefresh = function() self.ui:onRefresh() end
function OPDSCatalog:onClose()
filemanagerRefresh()
UIManager:close(self)
end
OPDSCatalog:showCatalog()
end,
}
self.menu_items.developer_options = { self.menu_items.developer_options = {
text = _("Developer options"), text = _("Developer options"),
sub_item_table = { sub_item_table = {

@ -134,7 +134,7 @@ local order = {
"find_file", "find_file",
"----------------------------", "----------------------------",
"goodreads", "goodreads",
"opds_catalog", "opds",
}, },
main = { main = {
"history", "history",

Loading…
Cancel
Save