Outbox properties are immutable

pull/50/head
M66B 6 years ago
parent fec647a7ee
commit 7807008c24

@ -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));

@ -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