Skip to content

Conversation

@ediazest
Copy link
Contributor

Fixed registration flow: user now goes directly to Home screen after successfully creating a new account.

Once Home screen is loaded, a dialog will be prompted asking user to complete his profile, letting him decide "ok", "not now" or "do not ask again".
This check is performed every time the screen is created, as a reminder for the user to complete his profile

device-2017-10-17-164742

preferenceEditor.putString(Constants.LOGGED_IN_USER_ID_KEY, String.valueOf(result.getId()));
preferenceEditor.putString(Constants.LOGGED_IN_USER_PASS_KEY, seller.getmPassword());

Gson gson = new GsonBuilder()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i've moved this code under cacheLoggedInUesrData method to be reusable.

# Conflicts:
#	app/src/main/java/com/mtesitoo/Constants.java
#	app/src/main/res/values/styles.xml
@ediazest
Copy link
Contributor Author

Hi @ptyagicodecamp, I've implemented the changes we commented on Slack. Please have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants