Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
nizarattack committed Mar 20, 2012
1 parent 5a5c1ed commit 882bf62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/com/chatmessenger/android/view/ym/LoginActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,13 @@ protected void onCreate(Bundle savedInstanceState) {
public void onClick(View v) {
EditText loginIdEdit = (EditText) findViewById(R.id.loginIdEdit);
EditText loginPassEdit = (EditText) findViewById(R.id.loginPassEdit);



String loginId = loginIdEdit.getText().toString().trim();
if(loginId.contains("@")){
String [] login = loginId.split("@");
loginId = login[0];
}
String loginPass = loginPassEdit.getText().toString().trim();

if (loginId == null || "".equals(loginId)
Expand Down

0 comments on commit 882bf62

Please sign in to comment.