Fix incorrect profile upload flag for existing users.

This commit is contained in:
Cody Henthorne
2021-11-10 14:03:04 -05:00
committed by Alex Hart
parent 1e6a17adc3
commit ff41816fef
3 changed files with 3 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ public final class RegistrationValues extends SignalStoreValues {
public synchronized void onFirstEverAppLaunch() {
getStore().beginWrite()
.putBoolean(HAS_UPLOADED_PROFILE, false)
.putBoolean(REGISTRATION_COMPLETE, false)
.putBoolean(PIN_REQUIRED, true)
.commit();
@@ -49,7 +50,7 @@ public final class RegistrationValues extends SignalStoreValues {
}
public boolean hasUploadedProfile() {
return getBoolean(HAS_UPLOADED_PROFILE, false);
return getBoolean(HAS_UPLOADED_PROFILE, true);
}
public void markHasUploadedProfile() {