mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 14:52:59 +00:00 
			
		
		
		
	Fix some modifiers
This commit is contained in:
		| @@ -61,9 +61,9 @@ fun Comment(comment: CommentsInfoItem) { | ||||
|  | ||||
|     Row( | ||||
|         modifier = Modifier | ||||
|             .fillMaxWidth() | ||||
|             .animateContentSize() | ||||
|             .clickable { isExpanded = !isExpanded } | ||||
|             .padding(all = 8.dp), | ||||
|             .padding(8.dp), | ||||
|         horizontalArrangement = Arrangement.spacedBy(8.dp) | ||||
|     ) { | ||||
|         if (ImageStrategy.shouldLoadImages()) { | ||||
| @@ -102,7 +102,6 @@ fun Comment(comment: CommentsInfoItem) { | ||||
|             } | ||||
|  | ||||
|             Text( | ||||
|                 modifier = Modifier.animateContentSize(), | ||||
|                 text = rememberParsedDescription(comment.commentText), | ||||
|                 // If the comment is expanded, we display all its content | ||||
|                 // otherwise we only display the first two lines | ||||
|   | ||||
| @@ -84,7 +84,9 @@ private fun NoCommentsMessage(error: Throwable?) { | ||||
|     } | ||||
|  | ||||
|     Column( | ||||
|         modifier = Modifier.fillMaxWidth().wrapContentSize(Alignment.Center), | ||||
|         modifier = Modifier | ||||
|             .fillMaxWidth() | ||||
|             .wrapContentSize(Alignment.Center), | ||||
|         horizontalAlignment = Alignment.CenterHorizontally | ||||
|     ) { | ||||
|         Text(text = "(╯°-°)╯", fontSize = 35.sp) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Isira Seneviratne
					Isira Seneviratne