Commit e6cb2099 authored by sullykh's avatar sullykh

Final

parent e7ab521d
...@@ -80,7 +80,7 @@ public class SignIn extends AppCompatActivity { ...@@ -80,7 +80,7 @@ public class SignIn extends AppCompatActivity {
startActivity(i); startActivity(i);
finish(); finish();
} else { // if for a registered user ,email id is not correct } else { // if statement to check for a registered user ,email id is not correct
Toast.makeText(SignIn.this, "Please enter Correct email and password !!!", Toast.LENGTH_SHORT).show(); Toast.makeText(SignIn.this, "Please enter Correct email and password !!!", Toast.LENGTH_SHORT).show();
email.setText(null); email.setText(null);
...@@ -97,7 +97,7 @@ public class SignIn extends AppCompatActivity { ...@@ -97,7 +97,7 @@ public class SignIn extends AppCompatActivity {
@Override @Override
public void onBackPressed() { public void onBackPressed() {
super.onBackPressed(); super.onBackPressed();
//start mainactivity on back pressed //start mainactivity on back pressed.
startActivity(new Intent(SignIn.this, MainActivity.class)); startActivity(new Intent(SignIn.this, MainActivity.class));
finish(); finish();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment