Commit b604bfe1 by 徐健

释放咨询师弹框资源

parent f00da74a
......@@ -127,7 +127,7 @@ class ConsultAssistantDialogUtils private constructor() {
object : ConsultAssistantDialog.OnConsultAssistantClickListener {
override fun onClickAction() {
// 咨询师列表页面且未登录情况下,跳转登录页面
if (expertSearchPageHasShown && !ConsultantIn.isLogin()) {
if (!ConsultantIn.isLogin()) {
ConsultantIn.toLogin(activity)
} else {
//获取用户uid
......@@ -151,10 +151,12 @@ class ConsultAssistantDialogUtils private constructor() {
* 咨询师列表页面使用的重置本单例关于专家咨询列表页面得状态
*/
fun resetStatus() {
consultAssistantDialogFromHomePage?.dismiss()
consultAssistantDialog?.dismiss()
timer?.cancel()
timer = null
expertSearchPageHasShown = false
consultAssistantDialogFromHomePage = null
consultAssistantDialog = null
}
......
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