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;
|
s = expand;
|
||||||
} else {
|
} else {
|
||||||
nextLines = maxLines;
|
nextLines = maxLines;
|
||||||
end = text.length();
|
end = text.length() + 1;
|
||||||
s = collapse;
|
s = collapse;
|
||||||
}
|
}
|
||||||
sb.clearSpans();
|
sb.clearSpans();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue