|
|
@ -172,8 +172,9 @@ public class TagViewFragment extends TaskListFragment {
|
|
|
|
dataLoaded = true;
|
|
|
|
dataLoaded = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
String tag = getActivity().getIntent().getStringExtra(EXTRA_TAG_NAME);
|
|
|
|
TaskListActivity activity = (TaskListActivity) getActivity();
|
|
|
|
long remoteId = getActivity().getIntent().getLongExtra(EXTRA_TAG_REMOTE_ID, 0);
|
|
|
|
String tag = activity.getIntent().getStringExtra(EXTRA_TAG_NAME);
|
|
|
|
|
|
|
|
long remoteId = activity.getIntent().getLongExtra(EXTRA_TAG_REMOTE_ID, 0);
|
|
|
|
|
|
|
|
|
|
|
|
if(tag == null && remoteId == 0)
|
|
|
|
if(tag == null && remoteId == 0)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -198,17 +199,10 @@ public class TagViewFragment extends TaskListFragment {
|
|
|
|
|
|
|
|
|
|
|
|
super.onNewIntent(intent);
|
|
|
|
super.onNewIntent(intent);
|
|
|
|
|
|
|
|
|
|
|
|
// if (intent.getBooleanExtra(TOKEN_START_ACTIVITY, false)) {
|
|
|
|
if (activity.getIntent().getBooleanExtra(TOKEN_START_ACTIVITY, false)) {
|
|
|
|
// getView().findViewById(R.id.activity).postDelayed(new Runnable() {
|
|
|
|
activity.getIntent().removeExtra(TOKEN_START_ACTIVITY);
|
|
|
|
// @Override
|
|
|
|
activity.showComments();
|
|
|
|
// public void run() {
|
|
|
|
}
|
|
|
|
// Intent i = new Intent(getActivity(), TagUpdatesActivity.class);
|
|
|
|
|
|
|
|
// i.putExtra(EXTRA_TAG_DATA, tagData);
|
|
|
|
|
|
|
|
// startActivity(i);
|
|
|
|
|
|
|
|
// AndroidUtilities.callOverridePendingTransition(getActivity(), R.anim.slide_left_in, R.anim.slide_left_out);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }, 500);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|