summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-10-31 16:39:07 +0100
committercyBerta <cyberta@riseup.net>2017-10-31 16:39:07 +0100
commit5df197df4b82251467465815f503a2b38a36166b (patch)
tree483851a0822f90403e45a33ceb1c00cb819a908a
parent8158397299dc29e6ffa1018b082c41aad37f18d6 (diff)
remove legacy code from SessionDialog
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/userstatus/SessionDialog.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/userstatus/SessionDialog.java b/app/src/main/java/se/leap/bitmaskclient/userstatus/SessionDialog.java
index 88dec39b..d124c395 100644
--- a/app/src/main/java/se/leap/bitmaskclient/userstatus/SessionDialog.java
+++ b/app/src/main/java/se/leap/bitmaskclient/userstatus/SessionDialog.java
@@ -50,8 +50,7 @@ public class SessionDialog extends DialogFragment {
public static enum ERRORS {
USERNAME_MISSING,
PASSWORD_INVALID_LENGTH,
- RISEUP_WARNING,
- INITIALIZATION_ERROR
+ RISEUP_WARNING
}
@InjectView(R.id.user_message)
@@ -123,9 +122,6 @@ public class SessionDialog extends DialogFragment {
else if (arguments.containsKey(ERRORS.RISEUP_WARNING.toString())) {
user_message.setVisibility(VISIBLE);
user_message.setText(R.string.login_riseup_warning);
- } else if (arguments.containsKey(ERRORS.INITIALIZATION_ERROR.toString())) {
- user_message.setVisibility(VISIBLE);
- user_message.setText(String.valueOf(arguments.get(ERRORS.INITIALIZATION_ERROR.toString())));
}
if (arguments.containsKey(USERNAME)) {
String username = arguments.getString(USERNAME);