mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Decrypt protect content inline
This commit is contained in:
@@ -5854,6 +5854,16 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
Log.i("Opening uri=" + uri + " title=" + title);
|
||||
uri = Uri.parse(uri.toString().replaceAll("\\s+", ""));
|
||||
|
||||
if (StyleHelper.isProtectedContent(uri)) {
|
||||
Bundle args = new Bundle();
|
||||
args.putParcelable("uri", uri);
|
||||
|
||||
FragmentDialogBase dialog = new StyleHelper.FragmentDialogDecrypt();
|
||||
dialog.setArguments(args);
|
||||
dialog.show(parentFragment.getParentFragmentManager(), "decrypt");
|
||||
return true;
|
||||
}
|
||||
|
||||
try {
|
||||
String url = uri.getQueryParameter("url");
|
||||
if (!TextUtils.isEmpty(url)) {
|
||||
|
||||
Reference in New Issue
Block a user