From 0f8b22dc680154b0442e5f36f2aa303d18484c72 Mon Sep 17 00:00:00 2001 From: xuxinchao Date: Wed, 23 Oct 2024 10:56:28 +0800 Subject: [PATCH] =?UTF-8?q?[6.7.0]=E4=BF=AE=E5=A4=8D=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=B8=BB=E5=8A=A8=E5=BD=95=E5=8C=85=E5=90=8E=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BC=9A=E8=87=AA=E5=8A=A8=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E8=A1=8C=E7=A8=8B=E9=A1=B5-=E4=B8=8A=E6=8A=A5=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/eagle/core/function/hmi/bone/BoneTabLayout.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTabLayout.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTabLayout.kt index 711ead57c3..77a49ee323 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTabLayout.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/BoneTabLayout.kt @@ -2,6 +2,7 @@ package com.mogo.eagle.core.function.hmi.bone import android.content.Context import android.util.AttributeSet +import android.util.Log import android.view.LayoutInflater import android.view.View import androidx.constraintlayout.widget.ConstraintLayout @@ -98,7 +99,9 @@ class BoneTabLayout @JvmOverloads constructor( } override fun closeReportView() { - updateTabType(TabType.REPORT_INFO) + if(tabType == TabType.REPORT_INFO){ + updateTabType(TabType.REPORT_INFO) + } } })