微调代码结构
This commit is contained in:
@ -306,7 +306,9 @@ public class MainActivity extends BaseActivity {
|
||||
// 获取可用(没有被隐藏的)的社区列表
|
||||
CommunityHelper.getAvailableCommunityList();
|
||||
|
||||
handler.postDelayed(this::switchToCommunityTabAndRefresh, 800);
|
||||
if (getIntent().getBooleanExtra(SWITCH_TO_COMMUNITY, false)) {
|
||||
handler.postDelayed(this::switchToCommunityTabAndRefresh, 800);
|
||||
}
|
||||
|
||||
// 跳转至其它页面
|
||||
if (getIntent() != null && getIntent().getExtras() != null && !isSkipped) {
|
||||
|
||||
Reference in New Issue
Block a user