Refactoring

This commit is contained in:
Michael Bucari-Tovo 2022-07-15 16:36:58 -06:00
parent 1ce5fedc8c
commit 0189a197a8
9 changed files with 85 additions and 65 deletions

View file

@ -23,13 +23,13 @@ namespace LibationWinForms.AvaloniaUI.Views
{
Serilog.Log.Logger.Information("Begin single book backup of {libraryBook}", libraryBook);
SetQueueCollapseState(false);
_viewModel.ProcessQueueViewModel.AddDownloadDecrypt(libraryBook);
_viewModel.ProcessQueue.AddDownloadDecrypt(libraryBook);
}
else if (libraryBook.Book.UserDefinedItem.PdfStatus is LiberatedStatus.NotLiberated)
{
Serilog.Log.Logger.Information("Begin single pdf backup of {libraryBook}", libraryBook);
SetQueueCollapseState(false);
_viewModel.ProcessQueueViewModel.AddDownloadPdf(libraryBook);
_viewModel.ProcessQueue.AddDownloadPdf(libraryBook);
}
else if (libraryBook.Book.Audio_Exists())
{