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