Add the feature for updating local favorites info

This commit is contained in:
2024-11-13 08:57:37 +08:00
parent 00bcbaa2eb
commit 8e99e94620
3 changed files with 136 additions and 6 deletions

View File

@@ -123,6 +123,18 @@ class _LocalFavoritesPageState extends State<_LocalFavoritesPage> {
filename: "${widget.folder}.json",
);
}),
MenuEntry(
icon: Icons.update,
text: "Update Comics Info".tl,
onClick: () {
updateComicsInfo(widget.folder).then((newComics) {
if(mounted) {
setState(() {
comics = newComics;
});
}
});
}),
],
),
],