|
@@ -99,7 +99,7 @@ class CallRecordsItemAdapter(var data: ArrayList<InteractionVO>) : BaseDelegateA
|
|
|
if (itemData.fromDeviceId == Constant.DEVICE_ID){
|
|
|
binding.tabImagev.setImageResource(R.mipmap.huchu)
|
|
|
binding.callRecordsItemTitle.text = "呼出-"+itemData.toDeviceName
|
|
|
- if (itemData.actionAccept != null) {
|
|
|
+ if (itemData.actionEnd != null) {
|
|
|
binding.callRecordsItemType.text = "已接通"
|
|
|
binding.callRecordsItemType.setTextColor(Color.parseColor("#2EA22A"));
|
|
|
binding.callRecordsItemCall.visibility = View.VISIBLE
|
|
@@ -121,7 +121,7 @@ class CallRecordsItemAdapter(var data: ArrayList<InteractionVO>) : BaseDelegateA
|
|
|
//呼入
|
|
|
binding.tabImagev.setImageResource(R.mipmap.huru)
|
|
|
binding.callRecordsItemTitle.text = "呼入-"+itemData.toDeviceName
|
|
|
- if (itemData.actionAccept != null) {
|
|
|
+ if (itemData.actionEnd != null) {
|
|
|
binding.callRecordsItemType.text = "已接通"
|
|
|
binding.callRecordsItemType.setTextColor(Color.parseColor("#2EA22A"));
|
|
|
binding.callRecordsItemCall.visibility = View.VISIBLE
|