宙连新增节点是否可选择功能
This commit is contained in:
parent
9ba51abdd9
commit
2eff8244f6
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue