Partitialy revert read more fix for See Replies.
This commit is contained in:
parent
6c42ded2b1
commit
eaa2d58518
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 (getMaxLines() > 0) {
|
if (maxLength > 0) {
|
||||||
ellipsizeEmojiTextForMaxLines();
|
|
||||||
} else if (maxLength > 0) {
|
|
||||||
ellipsizeAnyTextForMaxLength();
|
ellipsizeAnyTextForMaxLength();
|
||||||
|
} else if (getMaxLines() > 0) {
|
||||||
|
ellipsizeEmojiTextForMaxLines();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue