|
|
@@ -32,6 +32,7 @@ import com.sheep.jiuyan.samllsheep.page.MainActivity;
|
|
|
import com.sheep.jiuyan.samllsheep.page.SplashActivity;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.G;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.SpUtils;
|
|
|
+import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
|
|
|
|
import org.xutils.ex.DbException;
|
|
|
|
|
|
@@ -73,6 +74,10 @@ public class PhoneAct extends BaseActivity implements PhoneContract.View {
|
|
|
@Override
|
|
|
public void initView() {
|
|
|
activity = this;
|
|
|
+ TitleBarUtils
|
|
|
+ .getInstance()
|
|
|
+ .setTitle(this,"手机号登录")
|
|
|
+ .setTitleFinish(this);
|
|
|
DaggerPhoneComponent.builder()
|
|
|
.netComponent(SheepApp.get(this).getNetComponent())
|
|
|
.phoneModule(new PhoneModule(this))
|
|
|
@@ -223,7 +228,7 @@ public class PhoneAct extends BaseActivity implements PhoneContract.View {
|
|
|
}
|
|
|
|
|
|
Jump2View.getInstance().goHomePageView(activity, null);
|
|
|
-// ActivityManager.getInstance().endActivity(null);
|
|
|
+ ActivityManager.getInstance().endActivity(LoginAct.class);
|
|
|
finish();
|
|
|
Log.e("---login_-", o.toString());
|
|
|
}
|