Removed two lines that cause double-launching of activity when creating new list. @sam tell me why these used to be here.

pull/14/head
Tim Su 13 years ago
parent 4378ab22be
commit 583759b8a8

@ -278,8 +278,6 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener
Filter savedFilter = getIntent().getParcelableExtra(TaskListFragment.TOKEN_FILTER);
if (getIntent().getIntExtra(TaskListFragment.TOKEN_SOURCE, Constants.SOURCE_DEFAULT) == Constants.SOURCE_NOTIFICATION)
setupTasklistFragmentWithFilterAndCustomTaskList(savedFilter, NotificationFragment.class);
else if (!Flags.checkAndClear(Flags.TLA_RESUMED_FROM_VOICE_ADD))
setupTasklistFragmentWithFilter(savedFilter);
if (savedFilter != null)
setListsTitle(savedFilter.title);

Loading…
Cancel
Save