mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-11-04 09:13:00 +00:00 
			
		
		
		
	Fix potential cast exception
when casting to `Spannable` in `CommentTextOnTouchListener`
This commit is contained in:
		@@ -115,7 +115,7 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder {
 | 
			
		||||
 | 
			
		||||
        itemContentView.setLines(COMMENT_DEFAULT_LINES);
 | 
			
		||||
        commentText = item.getCommentText();
 | 
			
		||||
        itemContentView.setText(commentText);
 | 
			
		||||
        itemContentView.setText(commentText, TextView.BufferType.SPANNABLE);
 | 
			
		||||
        itemContentView.setOnTouchListener(CommentTextOnTouchListener.INSTANCE);
 | 
			
		||||
 | 
			
		||||
        if (itemContentView.getLineCount() == 0) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user