🛠️ Remove redundant TODO

This commit is contained in:
Acclorite 2024-10-17 23:36:09 +03:00
parent 4a31a916bf
commit 8309af3d4d

View file

@ -167,7 +167,7 @@ class FileSystemRepositoryImpl @Inject constructor(
return NotNull( return NotNull(
bookWithTextAndCover = BookWithTextAndCover( bookWithTextAndCover = BookWithTextAndCover(
book = parsedBook.book.copy( book = parsedBook.book.copy(
chapters = parsedText.data!!.map { it.chapter } //todo remove this and make every parser take first line as chapter title(exc epub ofc) chapters = parsedText.data!!.map { it.chapter }
), ),
coverImage = parsedBook.coverImage, coverImage = parsedBook.coverImage,
text = parsedText.data.map { text = parsedText.data.map {