Skip to content

Commit

Permalink
extractor 20.26
Browse files Browse the repository at this point in the history
  • Loading branch information
Isayso committed Apr 4, 2023
1 parent 8c27cff commit 11cf1c7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
10 changes: 6 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
minSdkVersion 19
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 29
versionCode 992
versionName "19.9.24 Isayso Fork"
versionCode 994
versionName "19.9.25 Isayso Fork"

multiDexEnabled true

Expand Down Expand Up @@ -70,7 +70,7 @@ android {

compileOptions {
// >23 Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
coreLibraryDesugaringEnabled false

sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -183,7 +183,9 @@ dependencies {
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
// implementation 'com.github.TeamNewPipe:NewPipeExtractor:eb07d70a2ce03bee3cc74fc33b2e4173e1c21436'
// implementation 'com.github.TeamNewPipe:NewPipeExtractor:2211a24b6934a8a8cdf5547ea1b52daa4cb5de6c'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:7e793c11aec46358ccbfd8bcfcf521105f4f093a'
// implementation 'com.github.TeamNewPipe:NewPipeExtractor:7e793c11aec46358ccbfd8bcfcf521105f4f093a'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.22.6'


/** Third-party libraries **/
// Instance state boilerplate elimination
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.schabi.newpipe.util.NavigationHelper;
import org.schabi.newpipe.util.ShareUtils;

import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

Expand Down Expand Up @@ -95,8 +96,12 @@ public void updateFromItem(final InfoItem infoItem,
streamUrl = item.getUrl();

itemContentView.setLines(COMMENT_DEFAULT_LINES);
// commentText = item.getCommentText().toString(); //Isayso
commentText = item.getCommentText().getContent(); //Isayso
// commentText = item.getCommentText(); //Isayso
try {
commentText = item.getCommentText().getContent();
} catch (Exception e) {
commentText = " ";
}
itemContentView.setText(commentText);
itemContentView.setOnTouchListener(CommentTextOnTouchListener.INSTANCE);

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.0'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
Expand Down

0 comments on commit 11cf1c7

Please sign in to comment.