Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
performance-booking-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sully.khalifa
performance-booking-app
Commits
e6cb2099
Commit
e6cb2099
authored
May 20, 2023
by
sullykh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final
parent
e7ab521d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SignIn.java
app/src/main/java/com/example/project58/SignIn.java
+2
-2
No files found.
app/src/main/java/com/example/project58/SignIn.java
View file @
e6cb2099
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment