fix(youtube/microg-support): open download link if Vanced MicroG is missing (#290)

This commit is contained in:
reis 2023-01-17 01:42:37 +03:00 committed by GitHub
parent 6960b0bda5
commit 0af87e2908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ public class MicroGSupport {
Toast.makeText(context, str("microg_not_installed_warning"), Toast.LENGTH_LONG).show();
var intent = new Intent(Intent.ACTION_VIEW);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setData(Uri.parse(VANCED_MICROG_DOWNLOAD_LINK));
context.startActivity(intent);
}