mirror of https://github.com/M66B/FairEmail.git
Made showing quotes indepedent of threading
This commit is contained in:
parent
9b53442dcc
commit
77e486bf7d
|
@ -1928,7 +1928,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putSerializable("message", message);
|
args.putSerializable("message", message);
|
||||||
args.putBoolean("show_images", show_images);
|
args.putBoolean("show_images", show_images);
|
||||||
args.putBoolean("show_quotes", show_quotes || !threading);
|
args.putBoolean("show_quotes", show_quotes);
|
||||||
args.putInt("zoom", zoom);
|
args.putInt("zoom", zoom);
|
||||||
bodyTask.setCount(false).execute(context, owner, args, "message:body");
|
bodyTask.setCount(false).execute(context, owner, args, "message:body");
|
||||||
}
|
}
|
||||||
|
@ -2037,7 +2037,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
boolean show_images = properties.getValue("images", message.id);
|
boolean show_images = properties.getValue("images", message.id);
|
||||||
|
|
||||||
ibFull.setVisibility(hasWebView ? View.VISIBLE : View.GONE);
|
ibFull.setVisibility(hasWebView ? View.VISIBLE : View.GONE);
|
||||||
ibQuotes.setVisibility(has_quotes && threading && !show_quotes ? View.VISIBLE : View.GONE);
|
ibQuotes.setVisibility(has_quotes && !show_quotes ? View.VISIBLE : View.GONE);
|
||||||
ibImages.setVisibility(has_images && !show_images ? View.VISIBLE : View.GONE);
|
ibImages.setVisibility(has_images && !show_images ? View.VISIBLE : View.GONE);
|
||||||
|
|
||||||
tvBody.setText(body);
|
tvBody.setText(body);
|
||||||
|
|
Loading…
Reference in New Issue