|
|
@@ -11,6 +11,7 @@ import com.sheep.gamegroup.view.adapter.ViewPagerFragmentAdapter;
|
|
|
import com.sheep.gamegroup.view.fragment.FgtMsgCenter;
|
|
|
import com.sheep.gamegroup.view.fragment.FgtMsgReply;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
+import com.sheep.jiuyan.samllsheep.utils.SpUtils;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
@@ -46,7 +47,12 @@ public class ActMsg extends BaseActivity {
|
|
|
|
|
|
@Override
|
|
|
public void initView() {
|
|
|
- String token = getIntent().hasExtra("token") ? getIntent().getStringExtra("token") : DataUtil.getInstance().getToken();
|
|
|
+ String token;
|
|
|
+ if(getIntent().hasExtra("token")){
|
|
|
+ token = SpUtils.exchangeToken(getIntent().getStringExtra("token"));
|
|
|
+ } else {
|
|
|
+ token = DataUtil.getInstance().getToken();
|
|
|
+ }
|
|
|
TitleBarUtils.getInstance()
|
|
|
.setShowOrHide(this, true)
|
|
|
.setTitleFinish(this)
|