From 87acf9432bb38f3eff834853bfea41d786e7be01 Mon Sep 17 00:00:00 2001 From: Volterxien Date: Fri, 13 Jun 2025 08:44:27 -0400 Subject: [PATCH] removed bad info message --- plugins/opds.koplugin/main.lua | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/plugins/opds.koplugin/main.lua b/plugins/opds.koplugin/main.lua index b80a809ed..db461a349 100644 --- a/plugins/opds.koplugin/main.lua +++ b/plugins/opds.koplugin/main.lua @@ -127,21 +127,12 @@ function OPDS:checkSyncDownload(force) self.setSyncDir() return end - for i, item in ipairs(self.servers) do + for _, item in ipairs(self.servers) do if item.sync then local last_download = OPDSBrowser:syncDownload(item, force) if last_download then logger.dbg("Updating opds last download for server " .. item.title) self:updateFieldInCatalog(item, "last_download", last_download) - else - local top = UIManager:getTopmostVisibleWidget() - -- current info message logging connection error -- still need to sync - if not top.text then - UIManager:show(InfoMessage:new{ - text = _("Already up to date. Nothing to do."), - timeout = 2, - }) - end end end end