Rename profile fragments so they make sense.

This commit is contained in:
Greyson Parrelli
2023-11-03 09:14:17 -04:00
parent b5e4c4e92a
commit 7be93a8a44
20 changed files with 77 additions and 74 deletions

View File

@@ -32,7 +32,7 @@ import org.thoughtcrime.securesms.keyvalue.SignalStore;
import org.thoughtcrime.securesms.lock.v2.SvrConstants;
import org.thoughtcrime.securesms.lock.v2.PinKeyboardType;
import org.thoughtcrime.securesms.profiles.AvatarHelper;
import org.thoughtcrime.securesms.profiles.edit.EditProfileActivity;
import org.thoughtcrime.securesms.profiles.edit.CreateProfileActivity;
import org.thoughtcrime.securesms.recipients.Recipient;
import org.thoughtcrime.securesms.registration.RegistrationUtil;
import org.thoughtcrime.securesms.registration.fragments.RegistrationViewDelegate;
@@ -238,7 +238,7 @@ public class PinRestoreEntryFragment extends LoggingFragment {
if (Recipient.self().getProfileName().isEmpty() || !AvatarHelper.hasAvatar(activity, Recipient.self().getId())) {
final Intent main = MainActivity.clearTop(activity);
final Intent profile = EditProfileActivity.getIntentForUserProfile(activity);
final Intent profile = CreateProfileActivity.getIntentForUserProfile(activity);
profile.putExtra("next_intent", main);
startActivity(profile);