lmw
11 小时以前 855a7e18a795f0db2453a19e3e8f26ba2ff553b4
app/src/main/java/com/dollearn/student/MainActivity.kt
@@ -22,7 +22,6 @@
import com.dollearn.student.utils.Const
import com.dollearn.student.utils.event.EmptyEvent
import kotlinx.android.synthetic.main.activity_main.*
import kotlinx.android.synthetic.main.fragment_shop.*
import org.greenrobot.eventbus.EventBus
import org.greenrobot.eventbus.Subscribe
@@ -49,6 +48,13 @@
        getData()
        getVoiceUrl()
        getScoreConfig()
        getIsText2()
    }
    private fun getIsText2() {
        HttpManager.getIsOpen().request(this){_,data->
            SPUtils.instance().put(Const.IS_SHOW_TEXT,data?:true).apply()
        }
    }
    private fun getScoreConfig() {