mirror of
https://framagit.org/tom79/nitterizeme
synced 2025-02-17 04:00:36 +01:00
Some fixes + improvements
This commit is contained in:
parent
a0226289fb
commit
8b3659611a
@ -76,6 +76,8 @@
|
|||||||
<data android:host="invidiou.sh" />
|
<data android:host="invidiou.sh" />
|
||||||
<data android:host="invidious.toot.koeln" />
|
<data android:host="invidious.toot.koeln" />
|
||||||
<data android:host="invidious.ggc-project.de" />
|
<data android:host="invidious.ggc-project.de" />
|
||||||
|
<data android:host="invidious.13ad.de" />
|
||||||
|
<data android:host="yewtu.be" />
|
||||||
|
|
||||||
<!-- NITTER INSTANCES -->
|
<!-- NITTER INSTANCES -->
|
||||||
<data android:host="nitter.net" />
|
<data android:host="nitter.net" />
|
||||||
@ -85,6 +87,9 @@
|
|||||||
<data android:host="nitter.13ad.de" />
|
<data android:host="nitter.13ad.de" />
|
||||||
<data android:host="tw.openalgeria.org" />
|
<data android:host="tw.openalgeria.org" />
|
||||||
<data android:host="nitter.pussthecat.org" />
|
<data android:host="nitter.pussthecat.org" />
|
||||||
|
<data android:host="nitter.mastodont.cat" />
|
||||||
|
<data android:host="nitter.dark.fail" />
|
||||||
|
<data android:host="nitter.tedomum.net" />
|
||||||
|
|
||||||
<!-- BIBLIOGRAM INSTANCES -->
|
<!-- BIBLIOGRAM INSTANCES -->
|
||||||
<data android:host="bibliogram.art" />
|
<data android:host="bibliogram.art" />
|
||||||
|
@ -101,7 +101,9 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
"invidious.snopyta.org",
|
"invidious.snopyta.org",
|
||||||
"invidiou.sh",
|
"invidiou.sh",
|
||||||
"invidious.toot.koeln",
|
"invidious.toot.koeln",
|
||||||
"invidious.ggc-project.de"
|
"invidious.ggc-project.de",
|
||||||
|
"invidious.13ad.de",
|
||||||
|
"yewtu.be"
|
||||||
};
|
};
|
||||||
public static String[] nitter_instances = {
|
public static String[] nitter_instances = {
|
||||||
"nitter.net",
|
"nitter.net",
|
||||||
@ -109,7 +111,10 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
"nitter.42l.fr",
|
"nitter.42l.fr",
|
||||||
"nitter.13ad.de",
|
"nitter.13ad.de",
|
||||||
"tw.openalgeria.org",
|
"tw.openalgeria.org",
|
||||||
"nitter.pussthecat.org"
|
"nitter.pussthecat.org",
|
||||||
|
"nitter.mastodont.cat",
|
||||||
|
"nitter.dark.fail",
|
||||||
|
"nitter.tedomum.net"
|
||||||
};
|
};
|
||||||
public static String[] bibliogram_instances = {
|
public static String[] bibliogram_instances = {
|
||||||
"bibliogram.art",
|
"bibliogram.art",
|
||||||
|
@ -429,7 +429,7 @@ public class TransformActivity extends Activity {
|
|||||||
boolean embedded_player = sharedpreferences.getBoolean(SET_EMBEDDED_PLAYER, false);
|
boolean embedded_player = sharedpreferences.getBoolean(SET_EMBEDDED_PLAYER, false);
|
||||||
|
|
||||||
if (Arrays.asList(invidious_instances).contains(Objects.requireNonNull(i.getData()).getHost()) && embedded_player) {
|
if (Arrays.asList(invidious_instances).contains(Objects.requireNonNull(i.getData()).getHost()) && embedded_player) {
|
||||||
if (!i.getData().toString().contains("videoplayback")) {
|
if (!i.getData().toString().contains("videoplayback") && !i.getData().toString().contains("/channel/")) {
|
||||||
Intent intentPlayer = new Intent(TransformActivity.this, WebviewPlayerActivity.class);
|
Intent intentPlayer = new Intent(TransformActivity.this, WebviewPlayerActivity.class);
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||||
intentPlayer.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT | Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
|
intentPlayer.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT | Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
|
||||||
|
@ -7,7 +7,7 @@ buildscript {
|
|||||||
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.6.1'
|
classpath 'com.android.tools.build:gradle:3.6.2'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
5
fastlane/metadata/android/en-US/changelogs/13.txt
Normal file
5
fastlane/metadata/android/en-US/changelogs/13.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Added:
|
||||||
|
- Support to more Invidious and Nitter instances
|
||||||
|
|
||||||
|
Fixed:
|
||||||
|
- Built-in player opening channels
|
Loading…
x
Reference in New Issue
Block a user