mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Improve performance of deleting favorites, coping favorites, moving favorites and deleting downloads. Close #365
This commit is contained in:
@@ -377,12 +377,10 @@ class _LocalComicsPageState extends State<LocalComicsPage> {
|
||||
FilledButton(
|
||||
onPressed: () {
|
||||
context.pop();
|
||||
for (var comic in comics) {
|
||||
LocalManager().deleteComic(
|
||||
comic,
|
||||
removeComicFile,
|
||||
);
|
||||
}
|
||||
LocalManager().batchDeleteComics(
|
||||
comics,
|
||||
removeComicFile,
|
||||
);
|
||||
isDeleted = true;
|
||||
},
|
||||
child: Text("Confirm".tl),
|
||||
|
Reference in New Issue
Block a user