Some cleaning

This commit is contained in:
Thomas 2020-07-10 11:44:28 +02:00
parent 1b960f231c
commit 4144d0173a
3 changed files with 7 additions and 12 deletions

View File

@ -222,10 +222,8 @@ public class TransformActivity extends Activity {
}
transformedURL = Utils.replaceInvidiousParams(TransformActivity.this, transformedURL);
intent.setData(Uri.parse(transformedURL));
forwardToBrowser(TransformActivity.this, intent);
} else {
forwardToBrowser(TransformActivity.this, intent);
}
forwardToBrowser(TransformActivity.this, intent);
}
//Transform a Nitter URL from an instance to another one selected by the end user.
else if (Arrays.asList(nitter_instances).contains(host)) {
@ -241,10 +239,8 @@ public class TransformActivity extends Activity {
}
}
intent.setData(Uri.parse(transformedURL));
forwardToBrowser(TransformActivity.this, intent);
} else {
forwardToBrowser(TransformActivity.this, intent);
}
forwardToBrowser(TransformActivity.this, intent);
}
//Transform a Bibliogram URL from an instance to another one selected by the end user.
else if (Arrays.asList(bibliogram_instances).contains(host)) {
@ -260,10 +256,9 @@ public class TransformActivity extends Activity {
}
}
intent.setData(Uri.parse(transformedURL));
forwardToBrowser(TransformActivity.this, intent);
} else {
forwardToBrowser(TransformActivity.this, intent);
}
forwardToBrowser(TransformActivity.this, intent);
} else {
String newUrl = remove_tracking_param(url);
try {

View File

@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.android.tools.build:gradle:4.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

View File

@ -1,6 +1,6 @@
#Wed Mar 04 16:19:15 CET 2020
#Fri Jul 10 11:00:21 CEST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip