Fixed download speed display.

This commit is contained in:
2025-02-20 13:16:09 +08:00
parent bd5d10e919
commit edc2cb066b
3 changed files with 22 additions and 8 deletions

View File

@@ -509,7 +509,7 @@ class LocalManager with ChangeNotifier {
var dir = Directory(FilePath.join(path, c.directory));
dir.deleteIgnoreError(recursive: true);
}
// Deleting a local comic means that it's nolonger available, thus both favorite and history should be deleted.
// Deleting a local comic means that it's no longer available, thus both favorite and history should be deleted.
if (c.comicType == ComicType.local) {
if (HistoryManager().find(c.id, c.comicType) != null) {
HistoryManager().remove(c.id, c.comicType);