宙连新增节点是否可选择功能

This commit is contained in:
level 2025-08-14 17:20:36 +08:00
parent 9ba51abdd9
commit 2eff8244f6
2 changed files with 5 additions and 1 deletions

View File

@ -614,6 +614,10 @@ class NewMainActivity : BaseActivity() {
}else if(httpStatus.reqType == HttpReqType.SelectNode){
(httpStatus.rsp as ShowNode).let {
if (it.code == 200) {
val isShowNode=it.data?.countryFlag
if(isShowNode == true){
findViewById<ConstraintLayout>(R.id.clLocation).visibility=View.VISIBLE
}
val screenshotFlag = it.data?.screenshotFlag
screenshotFlag.let {
if (screenshotFlag == true) {

View File

@ -157,7 +157,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:layout_gravity="start"
>
<!-- android:layout_gravity="start"-->
<androidx.appcompat.widget.AppCompatImageView
@ -258,6 +257,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"