[6.7.0]调整消息盒子红点显示,当打开消息盒子列表时出现新的消息,不出现红点
This commit is contained in:
@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.hmi.bone
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import androidx.constraintlayout.widget.ConstraintLayout
|
||||
import com.mogo.eagle.core.function.api.datacenter.msgbox.IMsgBoxEventListener
|
||||
import com.mogo.eagle.core.function.call.msgbox.CallerMsgBoxEventListenerManager
|
||||
@@ -171,7 +172,9 @@ class BoneTabLayout @JvmOverloads constructor(
|
||||
override fun onUpdateTipEvent(isShow: Boolean) {
|
||||
super.onUpdateTipEvent(isShow)
|
||||
UiThreadHandler.post {
|
||||
tabSwitchMsgBox.updateNotice(isShow)
|
||||
if(msgBoxTabView.visibility == View.GONE){
|
||||
tabSwitchMsgBox.updateNotice(isShow)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user