mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Re-enable the 'read more' text in see replies mode.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user