Browse Source

Outbox properties are immutable

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

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

@ -84,6 +84,8 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
}
private void bindTo(TupleFolderEx folder) {
ivEdit.setVisibility(EntityFolder.OUTBOX.equals(folder.type) ? View.INVISIBLE : View.VISIBLE);
String name = Helper.localizeFolderName(context, folder.name);
if (folder.unseen > 0)
tvName.setText(context.getString(R.string.title_folder_unseen, name, folder.unseen));


+ 0
- 2
app/src/main/java/eu/faircode/email/FragmentFolder.java View File

@ -77,8 +77,6 @@ public class FragmentFolder extends FragmentEx {
@Override
protected Void onLoad(Context context, Bundle args) {
try {
ServiceSynchronize.stop(getContext(), "folder");
long id = args.getLong("id");
boolean synchronize = args.getBoolean("synchronize");
String after = args.getString("after");


Loading…
Cancel
Save