[plugin] NewsDownloader: fix getEmptyFeed() call (#13945)

Accidentally changed in #13806.

Closes #13933.
This commit is contained in:
Frans de Jonge
2025-06-13 11:51:57 +02:00
committed by GitHub
parent b59734dfab
commit da245628e0

View File

@@ -857,7 +857,7 @@ function NewsDownloader:viewFeedList()
-- Prepare the view with all the callbacks for editing the attributes
local feed_item_vc = FeedView:getItem(
#feed_config + 1,
self.getEmptyFeed(),
getEmptyFeed(),
function(id, edit_key, value)
self:editFeedAttribute(id, edit_key, value)
end
@@ -1021,7 +1021,7 @@ function NewsDownloader:updateFeedConfig(id, key, value)
if id > #feed_config then
table.insert(
feed_config,
self.getEmptyFeed()
getEmptyFeed()
)
end