mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Outbox properties are immutable
This commit is contained in:
parent
fec647a7ee
commit
7807008c24
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue