Small improvement

pull/156/head
M66B 6 years ago
parent 460db1f067
commit aaed5c547a

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

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

Loading…
Cancel
Save