Renamed TagUpdatesFragment to TagCommentsFragment

pull/14/head
Sam Bosley 12 years ago
parent 2a2ab57ece
commit 0b9f54295e

@ -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;
}

@ -20,6 +20,10 @@ public class TaskCommentsFragment extends CommentsFragment {
private Task task;
public TaskCommentsFragment() {
super();
}
@Override
protected void loadModelFromIntent(Intent intent) {
if (task == null)

@ -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();
}

Loading…
Cancel
Save