Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mytfg
mytfg-vplan-app
Commits
3fd8dc08
Commit
3fd8dc08
authored
Jan 22, 2017
by
Lennart Bader
Browse files
Verified response Code -1 for offline / no connection
parent
e4e617c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/de/mytfg/apps/vplan/fragments/LoginFragment.java
View file @
3fd8dc08
...
...
@@ -108,7 +108,6 @@ public class LoginFragment extends Fragment {
}
}
else
if
(
responseCode
==
-
1
)
{
// Timeout
// TODO: Verfiy responseCode -1 for Timeouts
snackText
=
getString
(
R
.
string
.
login_timeout
);
}
else
if
(
responseCode
==
403
)
{
// Invalid login
...
...
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