mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Small fix
This commit is contained in:
parent
bd12f769c9
commit
6920dc0aaa
1 changed files with 3 additions and 2 deletions
|
@ -231,8 +231,6 @@ public class FragmentFolder extends FragmentBase {
|
|||
|
||||
boolean should = args.getBoolean("should");
|
||||
|
||||
if (TextUtils.isEmpty(display) || display.equals(name))
|
||||
display = null;
|
||||
int sync_days = (TextUtils.isEmpty(sync) ? EntityFolder.DEFAULT_SYNC : Integer.parseInt(sync));
|
||||
int keep_days = (TextUtils.isEmpty(keep) ? EntityFolder.DEFAULT_KEEP : Integer.parseInt(keep));
|
||||
if (keep_days < sync_days)
|
||||
|
@ -275,6 +273,9 @@ public class FragmentFolder extends FragmentBase {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (TextUtils.isEmpty(display) || display.equals(name))
|
||||
display = null;
|
||||
|
||||
if (folder == null) {
|
||||
reload = true;
|
||||
Log.i("Creating folder=" + name + " parent=" + parent);
|
||||
|
|
Loading…
Reference in a new issue