1
0
mirror of https://framagit.org/tom79/nitterizeme synced 2025-02-09 00:08:54 +01:00

NewPipe used by default for watching Invidious videos

This commit is contained in:
Thomas 2020-04-04 16:16:13 +02:00
parent 3dc055e64c
commit 44ac1a776d
2 changed files with 3 additions and 3 deletions

View File

@ -418,9 +418,8 @@ public class TransformActivity extends Activity {
targetIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
targetIntent.setComponent(new ComponentName("org.schabi.newpipe", "org.schabi.newpipe.RouterActivity"));
targetIntents.add(targetIntent);
}
if (targetIntents.size() > 0) {
startActivity(targetIntent);
}else if (targetIntents.size() > 0) {
Intent chooserIntent = Intent.createChooser(targetIntents.remove(0), getString(R.string.open_with));
chooserIntent.putExtra(Intent.EXTRA_INITIAL_INTENTS, targetIntents.toArray(new Parcelable[]{}));
startActivity(chooserIntent);

View File

@ -1,5 +1,6 @@
Added:
- Allow to redirect Invidious, Nitter and Bibliogram links to the preferred instances
- NewPipe used by default for watching Invidious videos
- Remove amp tracking after unshortening URL
- Unshorten support for buff.ly