summaryrefslogtreecommitdiff
path: root/client/Piztor/src/com/macaroon/piztor/Login.java
diff options
context:
space:
mode:
authorGoblin911 <goblinliu@gmail.com>2013-08-28 00:55:27 +0800
committerGoblin911 <goblinliu@gmail.com>2013-08-28 00:55:27 +0800
commit3baa5dd28c595c497a1669b3f25cda8c52139c87 (patch)
tree949a64b52806e6776ff08188a3b062f94ad94263 /client/Piztor/src/com/macaroon/piztor/Login.java
parent22ed3f362886b6bdd092102a993b48bc0e65414b (diff)
settings almost finished
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/Login.java')
-rw-r--r--client/Piztor/src/com/macaroon/piztor/Login.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/Login.java b/client/Piztor/src/com/macaroon/piztor/Login.java
index 3ad6cfb..ab523f8 100644
--- a/client/Piztor/src/com/macaroon/piztor/Login.java
+++ b/client/Piztor/src/com/macaroon/piztor/Login.java
@@ -13,7 +13,6 @@ import android.widget.Toast;
public class Login extends PiztorAct {
- ActMgr actMgr;
Button btnLogin;
EditText edtUser, edtPass;
@@ -35,9 +34,9 @@ public class Login extends PiztorAct {
actMgr.trigger(loginFailed);
return;
}
- UserInfo.token = res.t;
- UserInfo.id = res.uid;
- UserInfo.username = edtUser.getText().toString();
+ Infomation.token = res.t;
+ Infomation.uid = res.uid;
+ Infomation.username = edtUser.getText().toString();
System.out.println(res.s + " :!!! " + res.t);
actMgr.trigger(AppMgr.loginSuccess);
} else {