app/src/main/java/com/dollearn/student/MainActivity.kt
@@ -140,16 +140,6 @@ super.onResume() if (tab_bar.currentTab == 1) EventBus.getDefault().post(EmptyEvent(Const.EventCode.CHANGE_COURSDATA)) checkCompetition() } private fun checkCompetition() { HttpManager.getCompletedWorldCupTips().request(this,false){_,data-> if (data?:0!=0){ val competitionTipDialog = CompetitionTipDialog() competitionTipDialog.showAllowingStateLoss(supportFragmentManager,"ct") } } } override fun onDestroy() {