mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	Merge pull request #6337 from litetex/fix-broken-yt-liked-comments
[YouTube] Fix broken likes in comments
This commit is contained in:
		| @@ -183,7 +183,7 @@ dependencies { | |||||||
| /** NewPipe libraries **/ | /** NewPipe libraries **/ | ||||||
|     // You can use a local version by uncommenting a few lines in settings.gradle |     // You can use a local version by uncommenting a few lines in settings.gradle | ||||||
|     implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' |     implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' | ||||||
|     implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.21.3' |     implementation 'com.github.TeamNewPipe:NewPipeExtractor:ff11c2df2a22cc10d9fd7e59538d10ca7ccbaffb' | ||||||
|  |  | ||||||
| /** Checkstyle **/ | /** Checkstyle **/ | ||||||
|     checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}" |     checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}" | ||||||
|   | |||||||
| @@ -137,7 +137,10 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder { | |||||||
|         } |         } | ||||||
|  |  | ||||||
|         if (item.getLikeCount() >= 0) { |         if (item.getLikeCount() >= 0) { | ||||||
|             itemLikesCountView.setText(String.valueOf(item.getLikeCount())); |             itemLikesCountView.setText( | ||||||
|  |                     Localization.shortCount( | ||||||
|  |                             itemBuilder.getContext(), | ||||||
|  |                             item.getLikeCount())); | ||||||
|         } else { |         } else { | ||||||
|             itemLikesCountView.setText("-"); |             itemLikesCountView.setText("-"); | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bopol
					bopol