Newly created lists should now show up in their correct location

pull/14/head
Sam Bosley 11 years ago
parent ac0df13e37
commit ed91f860aa

@ -620,7 +620,7 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener
if (newList != null) { if (newList != null) {
getIntent().putExtra(TOKEN_SWITCH_TO_FILTER, newList); // Handle in onPostResume() getIntent().putExtra(TOKEN_SWITCH_TO_FILTER, newList); // Handle in onPostResume()
FilterListFragment fla = getFilterListFragment(); FilterListFragment fla = getFilterListFragment();
if (fla != null && getFragmentLayout() != LAYOUT_SINGLE) if (fla != null && !swipeIsEnabled())
fla.clear(); fla.clear();
} }
} else if (requestCode == TaskListFragment.ACTIVITY_EDIT_TASK && resultCode != Activity.RESULT_CANCELED) { } else if (requestCode == TaskListFragment.ACTIVITY_EDIT_TASK && resultCode != Activity.RESULT_CANCELED) {

Loading…
Cancel
Save