mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +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");
|
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 sync_days = (TextUtils.isEmpty(sync) ? EntityFolder.DEFAULT_SYNC : Integer.parseInt(sync));
|
||||||
int keep_days = (TextUtils.isEmpty(keep) ? EntityFolder.DEFAULT_KEEP : Integer.parseInt(keep));
|
int keep_days = (TextUtils.isEmpty(keep) ? EntityFolder.DEFAULT_KEEP : Integer.parseInt(keep));
|
||||||
if (keep_days < sync_days)
|
if (keep_days < sync_days)
|
||||||
|
@ -275,6 +273,9 @@ public class FragmentFolder extends FragmentBase {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (TextUtils.isEmpty(display) || display.equals(name))
|
||||||
|
display = null;
|
||||||
|
|
||||||
if (folder == null) {
|
if (folder == null) {
|
||||||
reload = true;
|
reload = true;
|
||||||
Log.i("Creating folder=" + name + " parent=" + parent);
|
Log.i("Creating folder=" + name + " parent=" + parent);
|
||||||
|
|
Loading…
Reference in a new issue