Re-enable the 'read more' text in see replies mode.
This commit is contained in:
parent
9cd1971329
commit
cb9a219c4b
1 changed files with 3 additions and 3 deletions
|
@ -152,10 +152,10 @@ public class EmojiTextView extends AppCompatTextView {
|
||||||
// Android fails to ellipsize spannable strings. (https://issuetracker.google.com/issues/36991688)
|
// Android fails to ellipsize spannable strings. (https://issuetracker.google.com/issues/36991688)
|
||||||
// We ellipsize them ourselves by manually truncating the appropriate section.
|
// We ellipsize them ourselves by manually truncating the appropriate section.
|
||||||
if (getText() != null && getText().length() > 0 && isEllipsizedAtEnd()) {
|
if (getText() != null && getText().length() > 0 && isEllipsizedAtEnd()) {
|
||||||
if (maxLength > 0) {
|
if (getMaxLines() > 0 && getMaxLines() != Integer.MAX_VALUE) {
|
||||||
ellipsizeAnyTextForMaxLength();
|
|
||||||
} else if (getMaxLines() > 0) {
|
|
||||||
ellipsizeEmojiTextForMaxLines();
|
ellipsizeEmojiTextForMaxLines();
|
||||||
|
} else if (maxLength > 0) {
|
||||||
|
ellipsizeAnyTextForMaxLength();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue