bug修复
This commit is contained in:
parent
37f73e12c5
commit
f0cad1497f
|
|
@ -1,6 +1,7 @@
|
||||||
package com.gamedog.vididin.main
|
package com.gamedog.vididin.main
|
||||||
|
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
|
import androidx.core.view.isVisible
|
||||||
import com.ama.core.architecture.util.setOnClickBatch
|
import com.ama.core.architecture.util.setOnClickBatch
|
||||||
import com.ama.core.architecture.widget.BindingDialog
|
import com.ama.core.architecture.widget.BindingDialog
|
||||||
import com.vididin.real.money.game.databinding.DialogWatchVideoBinding
|
import com.vididin.real.money.game.databinding.DialogWatchVideoBinding
|
||||||
|
|
@ -34,7 +35,13 @@ class WatchAdDialog(context: Activity, private val mWatchAdType: Int, private va
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tvGoldNum.text = "+$mGoldNum"
|
mGoldNum?.let {
|
||||||
|
tvGoldNum.text = "+$mGoldNum"
|
||||||
|
}
|
||||||
|
if (mGoldNum == null) {
|
||||||
|
tvGoldNum.isVisible = false
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="20dp"
|
android:layout_marginHorizontal="20dp"
|
||||||
android:paddingVertical="10dp"
|
android:paddingVertical="10dp"
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="30dp"
|
||||||
android:background="@mipmap/icon_action_but_bg">
|
android:background="@mipmap/icon_action_but_bg">
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/tv_reward_gold_num"
|
android:id="@+id/tv_reward_gold_num"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue