Browse Source

Sync trash / archive by default

Fixes #21
main
M66B 6 years ago
parent
commit
e7a709b944
2 changed files with 5 additions and 3 deletions
  1. +4
    -3
      app/src/main/java/eu/faircode/email/EntityFolder.java
  2. +1
    -0
      app/src/main/java/eu/faircode/email/FragmentIdentity.java

+ 4
- 3
app/src/main/java/eu/faircode/email/EntityFolder.java View File

@ -84,9 +84,10 @@ public class EntityFolder {
static final int DEFAULT_STANDARD_SYNC = 7;
static final List<String> SYSTEM_FOLDER_SYNC = Arrays.asList(
EntityFolder.TYPE_ARCHIVE,
EntityFolder.TYPE_DRAFTS,
EntityFolder.TYPE_SENT
TYPE_ARCHIVE,
TYPE_DRAFTS,
TYPE_TRASH,
TYPE_SENT
);
static boolean isOutgoing(String type) {


+ 1
- 0
app/src/main/java/eu/faircode/email/FragmentIdentity.java View File

@ -175,6 +175,7 @@ public class FragmentIdentity extends FragmentEx {
});
// Initialize
etName.requestFocus();
tilPassword.setPasswordVisibilityToggleEnabled(id < 0);
pbCheck.setVisibility(View.GONE);


Loading…
Cancel
Save