mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Oops
This commit is contained in:
parent
256ea4ac27
commit
741b38ba8f
2 changed files with 2 additions and 2 deletions
|
@ -5989,7 +5989,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
|
||||
String chost = FragmentDialogOpenLink.getConfirmHost(uri);
|
||||
boolean sanitize_links = prefs.getBoolean("sanitize_links", false);
|
||||
boolean confirm_link = (chost != null && prefs.getBoolean(chost + ".confirm_link", true));
|
||||
boolean confirm_link = (chost == null || prefs.getBoolean(chost + ".confirm_link", true));
|
||||
if (always_confirm || sanitize_links || (confirm_links && confirm_link)) {
|
||||
Bundle args = new Bundle();
|
||||
args.putParcelable("uri", uri);
|
||||
|
|
|
@ -583,7 +583,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
|||
|
||||
String chost = getConfirmHost(uri);
|
||||
cbNotAgain.setText(context.getString(R.string.title_no_ask_for_again, chost));
|
||||
cbNotAgain.setVisibility(!always_confirm && chost != null ? View.VISIBLE : View.GONE);
|
||||
cbNotAgain.setVisibility(!always_confirm && !sanitize_links && chost != null ? View.VISIBLE : View.GONE);
|
||||
|
||||
setMore(false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue