Compare commits

..

No commits in common. "105dadd7980f79148858b0e128f139c576f313eb" and "2abf2837d339aadd9c01856425c7cd150ec8683c" have entirely different histories.

1 changed files with 2 additions and 4 deletions

View File

@ -40,11 +40,9 @@ data class SelectCommunityPostResponse @QueryProjection constructor(
content
} else {
if (content.length > 15) {
val endIndex = content.offsetByCodePoints(0, 15)
content.substring(0, endIndex).plus("...")
content.substring(0, 15).plus("...")
} else {
val endIndex = content.offsetByCodePoints(0, content.length / 2)
content.substring(0, endIndex).plus("...")
content.substring(0, content.length / 2).plus("...")
}
}
} else {