mirror of https://github.com/M66B/FairEmail.git
POP3: fixed downloading message
This commit is contained in:
parent
689f32d1a1
commit
57beba9fa4
|
@ -2190,7 +2190,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
db.operation().liveOperations(message.id, EntityOperation.BODY).observe(eowner, new Observer<TupleMessageOperation>() {
|
||||
@Override
|
||||
public void onChanged(TupleMessageOperation operation) {
|
||||
grpDownloading.setVisibility(operation != null &&
|
||||
grpDownloading.setVisibility(operation != null && !operation.content &&
|
||||
(operation.id != null || operation.uid == null) ? View.VISIBLE : View.GONE);
|
||||
ibDownload.setVisibility(operation != null &&
|
||||
operation.id == null && operation.uid != null && !operation.content ? View.VISIBLE : View.GONE);
|
||||
|
|
Loading…
Reference in New Issue