force local

This commit is contained in:
Thomas 2020-05-04 18:45:02 +02:00
parent 26aefa22cd
commit 6efbd9c005
1 changed files with 3 additions and 0 deletions

View File

@ -290,6 +290,9 @@ public class TransformActivity extends Activity {
if (host != null && host.compareTo(invidiousHost) != 0) {
transformedURL = url.replace(host, invidiousHost);
}
if (!transformedURL.contains("lolal=true")) {
transformedURL += "&local=true";
}
intent.setData(Uri.parse(transformedURL));
forwardToBrowser(intent);
} else {