ignore empty archive link

This commit is contained in:
2025-10-12 16:44:13 +08:00
parent e93b56a008
commit 7d60e78f27

View File

@@ -237,10 +237,12 @@ abstract mixin class _ComicPageActions {
isGettingLink = false;
});
} else if (context.mounted) {
LocalManager()
if (res.data.isNotEmpty) {
LocalManager()
.addTask(ArchiveDownloadTask(res.data, comic));
App.rootContext
App.rootContext
.showMessage(message: "Download started".tl);
}
context.pop();
}
},