Minor fix to not dupe RTM tasks on clone

pull/14/head 3.7.2
Tim Su 15 years ago
parent 3f9c957107
commit e013e7ee3b

@ -4,6 +4,8 @@ import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.weloveastrid.rmilk.data.MilkTaskFields;
import android.content.ContentValues;
import com.todoroo.andlib.data.Property;
@ -115,6 +117,8 @@ public class TaskService {
continue;
if(ProducteevTask.METADATA_KEY.equals(metadata.getValue(Metadata.KEY)))
continue;
if(MilkTaskFields.METADATA_KEY.equals(metadata.getValue(Metadata.KEY)))
continue;
metadata.setValue(Metadata.TASK, newId);
metadata.clearValue(Metadata.ID);

@ -124,7 +124,7 @@ public final class UpgradeService {
StringBuilder changeLog = new StringBuilder();
if(from <= V2_14_4) {
newVersionString(changeLog, "3.6.0 (11/13/10)", new String[] {
newVersionString(changeLog, "3.7.2 (3/04/11)", new String[] {
"Astrid is brand new inside and out! In addition to a new " +
"look and feel, a new add-on system allows Astrid to become " +
"more powerful, while other improvements have made it faster " +

Loading…
Cancel
Save