Added option to enable showing authentication errors

This commit is contained in:
M66B
2019-04-17 09:08:15 +02:00
parent 151c582b65
commit fe7e4b833a
4 changed files with 29 additions and 6 deletions

View File

@@ -143,7 +143,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
private boolean preview;
private boolean autohtml;
private boolean autoimages;
private boolean paranoid;
private boolean authentication;
private boolean debug;
private float textSize;
@@ -507,7 +507,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Boolean.FALSE.equals(message.spf) ||
Boolean.FALSE.equals(message.dmarc)
? colorAccent : Color.TRANSPARENT);
vwStatus.setVisibility(paranoid ? View.VISIBLE : View.GONE);
vwStatus.setVisibility(authentication ? View.VISIBLE : View.GONE);
// Expander
boolean expanded = (viewType == ViewType.THREAD && properties.getValue("expanded", message.id));
@@ -2952,7 +2952,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
this.preview = prefs.getBoolean("preview", false);
this.autohtml = prefs.getBoolean("autohtml", false);
this.autoimages = prefs.getBoolean("autoimages", false);
this.paranoid = prefs.getBoolean("paranoid", true);
this.authentication = prefs.getBoolean("authentication", false);
this.debug = prefs.getBoolean("debug", false);
this.textSize = Helper.getTextSize(context, zoom);