Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ApiMangaParser {
mangaDto.relationships
.mapNotNull { relationshipDto ->
if (relationshipDto.type.equals(MdConstants.Types.author, true)) {
relationshipDto.attributes?.name
relationshipDto.attributes?.name
} else {
null
}
Expand All @@ -57,7 +57,7 @@ relationshipDto.attributes?.name
mangaDto.relationships
.mapNotNull { relationshipDto ->
if (relationshipDto.type.equals(MdConstants.Types.artist, true)) {
relationshipDto.attributes?.name
relationshipDto.attributes?.name
} else {
null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ object ImageUtil {
val imageHeight = outHeight
val imageWidth = outWidth

val optimalImageHeight = displayMaxHeightInPx * 4
val optimalImageHeight = displayMaxHeightInPx * 8
Comment thread
nonproto marked this conversation as resolved.

// -1 so it doesn't try to split when imageHeight = optimalImageHeight
val partCount = (imageHeight - 1) / optimalImageHeight + 1
Expand Down