lmw
2024-06-19 046174d13aeee8ed585ab2d4e28b8bce272e0217
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() {