allow to open in browser http links that look like proxies

This commit is contained in:
adbenitez
2024-11-20 19:36:18 +01:00
parent a51013cc00
commit e66fa53537
@@ -98,6 +98,9 @@ public class QrCodeHandler {
dcContext.restartIo();
showDoneToast(activity);
});
if (rawString.toLowerCase().startsWith("http")) {
builder.setNeutralButton(R.string.open, (d, b) -> IntentUtils.showBrowserIntent(activity, rawString));
}
builder.setNegativeButton(R.string.cancel, null);
builder.setCancelable(false);
break;