Revert "Fixed display issue"

This reverts commit 9936655830.
This commit is contained in:
M66B 2020-04-19 08:30:25 +02:00
parent 9936655830
commit abe2e4bce2
1 changed files with 2 additions and 4 deletions

View File

@ -1490,18 +1490,16 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
int height = properties.getHeight(message.id, 0);
if (height == 0) {
tvBody.setMinHeight(0);
tvBody.setVisibility(View.GONE);
wvBody.setMinimumHeight(0);
wvBody.setVisibility(View.GONE);
} else {
boolean show_full = properties.getValue("full", message.id);
if (show_full) {
wvBody.setMinimumHeight(height);
wvBody.setVisibility(View.INVISIBLE);
wvBody.setMinimumHeight(height);
} else {
tvBody.setMinHeight(height);
tvBody.setVisibility(View.INVISIBLE);
tvBody.setMinHeight(height);
}
}
pbBody.setVisibility(View.GONE);