Compare commits
2 Commits
422aa67af6
...
2abf2837d3
Author | SHA1 | Date |
---|---|---|
|
2abf2837d3 | |
|
0ea985178e |
|
@ -39,7 +39,11 @@ data class SelectCommunityPostResponse @QueryProjection constructor(
|
|||
if (existOrdered) {
|
||||
content
|
||||
} else {
|
||||
if (content.length > 15) {
|
||||
content.substring(0, 15).plus("...")
|
||||
} else {
|
||||
content.substring(0, content.length / 2).plus("...")
|
||||
}
|
||||
}
|
||||
} else {
|
||||
content
|
||||
|
|
Loading…
Reference in New Issue