mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Hide body loading on errors
This commit is contained in:
parent
49b0d41fde
commit
1ab7ac0f98
1 changed files with 3 additions and 2 deletions
|
@ -1860,8 +1860,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
tvSignedData.setVisibility(View.GONE);
|
||||
|
||||
// Message text
|
||||
tvNoInternetBody.setVisibility(suitable || message.content ? View.GONE : View.VISIBLE);
|
||||
grpDownloading.setVisibility(message.content ? View.GONE : View.VISIBLE);
|
||||
boolean content = (message.content || message.error != null);
|
||||
tvNoInternetBody.setVisibility(suitable || content ? View.GONE : View.VISIBLE);
|
||||
grpDownloading.setVisibility(content ? View.GONE : View.VISIBLE);
|
||||
|
||||
int height = properties.getHeight(message.id, 0);
|
||||
if (height == 0) {
|
||||
|
|
Loading…
Reference in a new issue