|
@@ -4,10 +4,7 @@ import android.os.Bundle
|
|
|
import android.view.Gravity
|
|
|
import com.swago.baseswago.dialog.BaseXDFragment
|
|
|
import com.swago.baseswago.util.NoDoubleClickListener
|
|
|
-import com.swago.baseswago.util.TimeUtil
|
|
|
-import com.swago.room.databinding.DialogCanStartLiveBinding
|
|
|
import com.swago.room.databinding.DialogGetRewardsBinding
|
|
|
-import java.sql.Time
|
|
|
|
|
|
class GetRewardsDialog : BaseXDFragment<DialogGetRewardsBinding>() {
|
|
|
private var duration :String =""
|
|
@@ -38,6 +35,7 @@ class GetRewardsDialog : BaseXDFragment<DialogGetRewardsBinding>() {
|
|
|
val nextCoins = it.getInt("nextCoins")
|
|
|
val nextTimes = it.getInt("nextTimes")
|
|
|
binding.tvCoins.text = "+${coins}"
|
|
|
+ binding.tvHint.text= "Continue in the room for ${nextTimes} mins to earn another ${nextCoins} coins."
|
|
|
|
|
|
}
|
|
|
|