mirror of
https://framagit.org/tom79/nitterizeme
synced 2025-02-17 20:20:59 +01:00
force local
This commit is contained in:
parent
26aefa22cd
commit
6efbd9c005
@ -290,6 +290,9 @@ public class TransformActivity extends Activity {
|
|||||||
if (host != null && host.compareTo(invidiousHost) != 0) {
|
if (host != null && host.compareTo(invidiousHost) != 0) {
|
||||||
transformedURL = url.replace(host, invidiousHost);
|
transformedURL = url.replace(host, invidiousHost);
|
||||||
}
|
}
|
||||||
|
if (!transformedURL.contains("lolal=true")) {
|
||||||
|
transformedURL += "&local=true";
|
||||||
|
}
|
||||||
intent.setData(Uri.parse(transformedURL));
|
intent.setData(Uri.parse(transformedURL));
|
||||||
forwardToBrowser(intent);
|
forwardToBrowser(intent);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user