Commit ddff5743 authored by fallenstardust's avatar fallenstardust

优化随机一卡加载

parent 8e769080
...@@ -154,7 +154,6 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie ...@@ -154,7 +154,6 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
@Override @Override
protected void onResume() { protected void onResume() {
super.onResume(); super.onResume();
setRandomCardDetail();
BacktoDuel(); BacktoDuel();
} }
...@@ -315,6 +314,7 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie ...@@ -315,6 +314,7 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
} }
break; break;
case R.id.action_game: case R.id.action_game:
setRandomCardDetail();
CardDetailRandom.showRandromCardDetailToast(this); CardDetailRandom.showRandromCardDetailToast(this);
openGame(); openGame();
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment