Fix Auto download not working sometimes (#1183)

This commit is contained in:
Michael Bucari-Tovo 2025-03-10 10:48:57 -06:00
parent 4e067f5b5b
commit 653381b1df
3 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ namespace LibationAvalonia.ViewModels
await Dispatcher.UIThread.InvokeAsync(() => LibraryStats = stats);
if (Configuration.Instance.AutoDownloadEpisodes
&& stats.booksNoProgress + stats.pdfsNotDownloaded > 0)
&& stats.PendingBooks + stats.pdfsNotDownloaded > 0)
await Dispatcher.UIThread.InvokeAsync(BackupAllBooks);
}
}