mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 06:15:25 -04:00
Epub Text Bleeding Finally Fixed! (#4086)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Gazy Mahomar <gmahomarf@users.noreply.github.com> Co-authored-by: Stefans.A <104719225+privatestefans@users.noreply.github.com>
This commit is contained in:
@@ -244,7 +244,7 @@ public class ReadingListService : IReadingListService
|
||||
// Collect all Ids to remove
|
||||
var itemIdsToRemove = items.Where(item => item.PagesRead == item.PagesTotal).Select(item => item.Id).ToList();
|
||||
|
||||
if (!itemIdsToRemove.Any()) return true;
|
||||
if (itemIdsToRemove.Count == 0) return true;
|
||||
try
|
||||
{
|
||||
var listItems =
|
||||
@@ -360,8 +360,7 @@ public class ReadingListService : IReadingListService
|
||||
private async Task CalculateReadingListAgeRating(ReadingList readingList, IEnumerable<int> seriesIds)
|
||||
{
|
||||
var ageRating = await _unitOfWork.SeriesRepository.GetMaxAgeRatingFromSeriesAsync(seriesIds);
|
||||
if (ageRating == null) readingList.AgeRating = AgeRating.Unknown;
|
||||
else readingList.AgeRating = (AgeRating) ageRating;
|
||||
readingList.AgeRating = ageRating;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user