mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Fix attachment updates
Download progress
This commit is contained in:
@@ -267,7 +267,8 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
|
||||
if (attachment.progress != null)
|
||||
holder.tvProgress.setText(String.format("%d %%", attachment.progress));
|
||||
holder.tvProgress.setVisibility(attachment.progress == null ? View.GONE : View.VISIBLE);
|
||||
holder.tvProgress.setVisibility(
|
||||
attachment.progress == null || attachment.content != null ? View.GONE : View.VISIBLE);
|
||||
|
||||
if (attachment.content == null) {
|
||||
if (attachment.progress == null) {
|
||||
|
||||
Reference in New Issue
Block a user