Fix `ExpandableTextView` incorrectly truncating the last character (#2244)
This commit is contained in:
parent
713a66744b
commit
d5c52a50df
|
|
@ -100,7 +100,7 @@ public class ExpandableTextView extends MaterialTextView {
|
|||
s = expand;
|
||||
} else {
|
||||
nextLines = maxLines;
|
||||
end = text.length();
|
||||
end = text.length() + 1;
|
||||
s = collapse;
|
||||
}
|
||||
sb.clearSpans();
|
||||
|
|
|
|||
Loading…
Reference in New Issue