kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Merge pull request #6337 from litetex/fix-broken-yt-liked-comments
[YouTube] Fix broken likes in commentspull/6421/head
commit
332b90d6c1
|
@ -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("-");
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue