Update src/org/thoughtcrime/securesms/WebxdcActivity.java

Co-authored-by: bjoern <r10s@b44t.com>
This commit is contained in:
Asiel Díaz Benítez
2022-05-03 06:53:16 -04:00
committed by GitHub
parent 47190896d2
commit 35a535705b
@@ -111,7 +111,8 @@ public class WebxdcActivity extends WebViewActivity implements DcEventCenter.DcE
// internal page, continue loading in the WebView
return false;
}
return super.openOnlineUrl(url);
Toast.makeText(this, "Please embed needed resources.", Toast.LENGTH_LONG).show();
return true; // returning `true` causes the WebView to abort loading
}
@Override