OPDSBrowser: Only update the title on plain navigation

Previously, it was updated with *acquisitions*, too, which was weird.
reviewable/pr7457/r1
NiLuJe 3 years ago committed by Frans de Jonge
parent 81eb5f8c49
commit 00eeb4b82b

@ -736,7 +736,7 @@ function OPDSBrowser:browseSearchable(browse_url, username, password)
end
function OPDSBrowser:onMenuSelect(item)
self.catalog_title = item.text or _("OPDS Catalog")
self.catalog_title = self.catalog_title or _("OPDS Catalog")
-- add catalog
if item.callback then
item.callback()
@ -746,6 +746,7 @@ function OPDSBrowser:onMenuSelect(item)
self:showDownloads(item)
-- navigation
else
self.catalog_title = item.text or self.catalog_title
local connect_callback
if item.searchable then
connect_callback = function()

Loading…
Cancel
Save