Made showing quotes indepedent of threading

This commit is contained in:
M66B 2019-07-10 11:38:53 +02:00
parent 9b53442dcc
commit 77e486bf7d
1 changed files with 2 additions and 2 deletions

View File

@ -1928,7 +1928,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Bundle args = new Bundle();
args.putSerializable("message", message);
args.putBoolean("show_images", show_images);
args.putBoolean("show_quotes", show_quotes || !threading);
args.putBoolean("show_quotes", show_quotes);
args.putInt("zoom", zoom);
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);
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);
tvBody.setText(body);