Skip to content

Commit

Permalink
Hide user email and password when user clicks on create new account
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantkp committed Dec 21, 2017
1 parent 16b5ca9 commit 05d1387
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public void onClick(View view) {
createNewAccount.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
mUserEmail.setText(null);
mUserPassword.setText(null);
Intent createNewAccountIntent = new Intent(MainLoginActivity.this, NewAccountActivity.class);
startActivity(createNewAccountIntent);
}
Expand Down

0 comments on commit 05d1387

Please sign in to comment.