Browse Source

Show outbox as synchronizing

main
M66B 6 years ago
parent
commit
32900778b4
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      app/src/main/java/eu/faircode/email/AdapterFolder.java

+ 1
- 2
app/src/main/java/eu/faircode/email/AdapterFolder.java View File

@ -128,11 +128,10 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
if (folder.account == null) { if (folder.account == null) {
tvAfter.setText(null); tvAfter.setText(null);
ivSync.setVisibility(View.GONE);
ivSync.setImageResource(R.drawable.baseline_sync_24);
} else { } else {
tvAfter.setText(Integer.toString(folder.after)); tvAfter.setText(Integer.toString(folder.after));
ivSync.setImageResource(folder.synchronize ? R.drawable.baseline_sync_24 : R.drawable.baseline_sync_disabled_24); ivSync.setImageResource(folder.synchronize ? R.drawable.baseline_sync_24 : R.drawable.baseline_sync_disabled_24);
ivSync.setVisibility(View.VISIBLE);
} }
tvError.setText(folder.error); tvError.setText(folder.error);


Loading…
Cancel
Save