From f1b0f7ad2d001581af4ca321d31a94350c35d5c6 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Sat, 1 Oct 2011 01:11:09 -0700 Subject: [PATCH] push flag changes to astrid.com --- .../com/todoroo/astrid/actfm/sync/ActFmSyncService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java index 851954156..606f5b2e3 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java @@ -317,7 +317,8 @@ public final class ActFmSyncService { if(values.containsKey(Task.IMPORTANCE.name)) { params.add("importance"); params.add(task.getValue(Task.IMPORTANCE)); } - if(values.containsKey(Task.RECURRENCE.name)) { + if(values.containsKey(Task.RECURRENCE.name) || + (values.containsKey(Task.FLAGS.name) && task.containsNonNullValue(Task.RECURRENCE))) { String recurrence = task.getValue(Task.RECURRENCE); if(!TextUtils.isEmpty(recurrence) && task.getFlag(Task.FLAGS, Task.FLAG_REPEAT_AFTER_COMPLETION)) recurrence = recurrence + ";FROM=COMPLETION";