Add back arrow to profile editor.

This commit is contained in:
Alex Hart
2020-01-27 14:30:53 -04:00
committed by GitHub
parent 0aad82d3d7
commit c86ced0911
4 changed files with 25 additions and 1 deletions

View File

@@ -31,7 +31,11 @@ public final class RegistrationCompleteFragment extends BaseRegistrationFragment
FragmentActivity activity = requireActivity();
if (!isReregister()) {
activity.startActivity(getRoutedIntent(activity, EditProfileActivity.class, new Intent(activity, MainActivity.class)));
Intent setProfileNameIntent = getRoutedIntent(activity, EditProfileActivity.class, new Intent(activity, MainActivity.class));
setProfileNameIntent.putExtra(EditProfileActivity.SHOW_BACK_ARROW, false);
activity.startActivity(setProfileNameIntent);
}
activity.finish();