summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/Dashboard.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-08-14 12:15:42 +0200
committerSean Leonard <meanderingcode@aetherislands.net>2013-10-03 16:50:04 -0700
commit37bb23c5549ffe690f65b1c04cf432bd3153bf04 (patch)
treecb221b9304905e25695c59be60f0eeb62fe25a36 /src/se/leap/leapclient/Dashboard.java
parent697e7da6e1379ac23cd8dbb47a1246547abafda6 (diff)
Login dialog requires username.
I've also changed the way we notify that the password should have 8 characters at least, to make it consistent to the way we notify username is required.
Diffstat (limited to 'src/se/leap/leapclient/Dashboard.java')
-rw-r--r--src/se/leap/leapclient/Dashboard.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/se/leap/leapclient/Dashboard.java b/src/se/leap/leapclient/Dashboard.java
index 371663b7..19d33a12 100644
--- a/src/se/leap/leapclient/Dashboard.java
+++ b/src/se/leap/leapclient/Dashboard.java
@@ -279,12 +279,7 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf
DialogFragment newFragment = LogInDialog.newInstance();
if(resultData != null && !resultData.isEmpty()) {
- Bundle user_message_bundle = new Bundle();
- String user_message = resultData.getString(getResources().getString(R.string.user_message));
- String username = resultData.getString(LogInDialog.USERNAME);
- user_message_bundle.putString(getResources().getString(R.string.user_message), user_message);
- user_message_bundle.putString(LogInDialog.USERNAME, username);
- newFragment.setArguments(user_message_bundle);
+ newFragment.setArguments(resultData);
}
newFragment.show(fragment_transaction, LogInDialog.TAG);
}