diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/TagUpdatesFragment.java b/astrid/plugin-src/com/todoroo/astrid/actfm/TagCommentsFragment.java similarity index 96% rename from astrid/plugin-src/com/todoroo/astrid/actfm/TagUpdatesFragment.java rename to astrid/plugin-src/com/todoroo/astrid/actfm/TagCommentsFragment.java index e7cbe3962..9f1fe809b 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/TagUpdatesFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/TagCommentsFragment.java @@ -28,18 +28,18 @@ import com.todoroo.astrid.service.TagDataService; import com.todoroo.astrid.tags.TagService; import com.todoroo.astrid.utility.AstridPreferences; -public class TagUpdatesFragment extends CommentsFragment { +public class TagCommentsFragment extends CommentsFragment { private TagData tagData; @Autowired private TagDataService tagDataService; - public TagUpdatesFragment() { + public TagCommentsFragment() { super(); } - public TagUpdatesFragment(TagData tagData) { + public TagCommentsFragment(TagData tagData) { super(); this.tagData = tagData; } diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java b/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java index 1ba5034ca..122671b2e 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/TaskCommentsFragment.java @@ -20,6 +20,10 @@ public class TaskCommentsFragment extends CommentsFragment { private Task task; + public TaskCommentsFragment() { + super(); + } + @Override protected void loadModelFromIntent(Intent intent) { if (task == null) diff --git a/astrid/src/com/todoroo/astrid/activity/AstridActivity.java b/astrid/src/com/todoroo/astrid/activity/AstridActivity.java index 3487153e7..a18618fbe 100644 --- a/astrid/src/com/todoroo/astrid/activity/AstridActivity.java +++ b/astrid/src/com/todoroo/astrid/activity/AstridActivity.java @@ -26,7 +26,7 @@ import com.todoroo.andlib.service.ContextManager; import com.todoroo.andlib.utility.AndroidUtilities; import com.todoroo.andlib.utility.DialogUtilities; import com.todoroo.astrid.actfm.CommentsFragment; -import com.todoroo.astrid.actfm.TagUpdatesFragment; +import com.todoroo.astrid.actfm.TagCommentsFragment; import com.todoroo.astrid.api.AstridApiConstants; import com.todoroo.astrid.api.Filter; import com.todoroo.astrid.api.FilterListItem; @@ -197,7 +197,7 @@ public class AstridActivity extends FragmentActivity FragmentManager manager = getSupportFragmentManager(); FragmentTransaction transaction = manager.beginTransaction(); - TagUpdatesFragment updates = new TagUpdatesFragment(tagData); + TagCommentsFragment updates = new TagCommentsFragment(tagData); transaction.replace(R.id.taskedit_fragment_container, updates, CommentsFragment.TAG_UPDATES_FRAGMENT); transaction.commit(); }