Small improvement

This commit is contained in:
M66B 2019-04-30 08:32:49 +02:00
parent 460db1f067
commit aaed5c547a
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ public class EntityOperation {
Log.i("Queued sync folder=" + folder);
}
if (foreground)
if (foreground) // Show spinner
db.folder().setFolderSyncState(fid, "requested");
if (account == null) // Outbox

View File

@ -260,7 +260,7 @@ public class FragmentFolder extends FragmentBase {
db.message().deleteMessagesBefore(id, keep_time);
EntityOperation.sync(context, folder.id, false);
EntityOperation.sync(context, folder.id, true);
}
db.setTransactionSuccessful();