diff options
author | cyBerta <cyberta@riseup.net> | 2017-10-31 16:39:07 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2017-10-31 16:39:07 +0100 |
commit | 5df197df4b82251467465815f503a2b38a36166b (patch) | |
tree | 483851a0822f90403e45a33ceb1c00cb819a908a /app/src/main/java/se | |
parent | 8158397299dc29e6ffa1018b082c41aad37f18d6 (diff) |
remove legacy code from SessionDialog
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/userstatus/SessionDialog.java | 6 |
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); |