1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Round number

This commit is contained in:
M66B 2020-03-23 10:11:36 +01:00
parent ddfc36c527
commit 55671994f3

View file

@ -543,8 +543,8 @@ public class FragmentFolders extends FragmentBase {
db.folder().setFolderInitialize(folder.id, Integer.MAX_VALUE);
db.folder().setFolderKeep(folder.id, Integer.MAX_VALUE);
} else if (months > 0) {
db.folder().setFolderInitialize(folder.id, months * 31);
db.folder().setFolderKeep(folder.id, months * 31);
db.folder().setFolderInitialize(folder.id, months * 30);
db.folder().setFolderKeep(folder.id, months * 30);
}
EntityOperation.sync(context, folder.id, true);