1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Small fix

This commit is contained in:
M66B 2019-06-26 08:57:50 +02:00
parent bd12f769c9
commit 6920dc0aaa

View file

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