kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Merge pull request #9065 from devlearner/fix-spannable-cast
Fix potential cast exception in comments textpull/9099/head
commit
7fca0e0786
|
@ -95,7 +95,7 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder {
|
||||||
|
|
||||||
itemContentView.setLines(COMMENT_DEFAULT_LINES);
|
itemContentView.setLines(COMMENT_DEFAULT_LINES);
|
||||||
commentText = item.getCommentText();
|
commentText = item.getCommentText();
|
||||||
itemContentView.setText(commentText);
|
itemContentView.setText(commentText, TextView.BufferType.SPANNABLE);
|
||||||
itemContentView.setOnTouchListener(CommentTextOnTouchListener.INSTANCE);
|
itemContentView.setOnTouchListener(CommentTextOnTouchListener.INSTANCE);
|
||||||
|
|
||||||
if (itemContentView.getLineCount() == 0) {
|
if (itemContentView.getLineCount() == 0) {
|
||||||
|
|
Ładowanie…
Reference in New Issue