diff --git a/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt b/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt index 0ec1e19..c7087b2 100644 --- a/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt +++ b/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt @@ -40,19 +40,19 @@ fun RecordCash.toShowBean(): RecordCashShow { RECORD_CASH_PLUS_GOLD_CONVERT -> { title = R.string.record_cash_title_convert_from_gold description = R.string.record_cash_descr_convert_from_gold - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.task_gold } RECORD_CASH_PLUS_BOX_TASK -> { title = R.string.record_cash_title_box description = R.string.record_cash_descr_box - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_gift } RECORD_CASH_PLUS_WITHDRAW_ONGOING -> { title = R.string.record_cash_title_withdraw_ongoing description = R.string.record_cash_descr_withdraw_onging - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_fail } RECORD_CASH_PLUS_WITHDRAW_FAIL -> { @@ -64,7 +64,7 @@ fun RecordCash.toShowBean(): RecordCashShow { RECORD_CASH_MINUS_WITHDRAW_SUCCESS -> { title = R.string.record_cash_title_withdraw_success description = R.string.record_cash_descr_withdraw_success - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_check } } diff --git a/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt b/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt index d33ddcc..948731a 100644 --- a/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt +++ b/app/src/main/java/com/gamedog/vididin/beans/RecordGold.kt @@ -44,7 +44,7 @@ fun RecordGold.toShowBean(): RecordGoldShow { RECORD_GOLD_PLUS_WATCH_VIDEO_BY_TIME_DURATION -> { title = R.string.record_gold_title_watch_video_time_duration description = R.string.record_gold_descr_watch_video_time_duration - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_video_task } RECORD_GOLD_PLUS_WATCH_REWARD_AD -> { @@ -56,31 +56,31 @@ fun RecordGold.toShowBean(): RecordGoldShow { RECORD_GOLD_PLUS_NEWBIE_GIFT -> { title = R.string.record_gold_title_newbie_gift description = R.string.record_gold_descr_newbie_gift - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_gift } RECORD_GOLD_PLUS_TASK_ENABLE_NOTIFY -> { title = R.string.record_gold_title_enable_notify description = R.string.record_gold_descr_enable_notify - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_notify } RECORD_GOLD_PLUS_TASK_FIRST_WITHDRAW -> { title = R.string.record_gold_title_first_withdraw description = R.string.record_gold_descr_first_withdraw - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_dollar } RECORD_GOLD_PLUS_TASK_JOIN_DISCORD -> { title = R.string.record_gold_title_join_discord description = R.string.record_gold_descr_join_discord - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_discord } RECORD_GOLD_PLUS_TASK_SIGN -> { title = R.string.record_gold_title_sign description = R.string.record_gold_descr_sign - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_calendar } RECORD_GOLD_PLUS_TASK_DAILY_AD -> { @@ -92,13 +92,13 @@ fun RecordGold.toShowBean(): RecordGoldShow { RECORD_GOLD_PLUS_TASK_DAILY_VIDEO -> { title = R.string.record_gold_title_daily_task_video description = R.string.record_gold_descr_daily_task_video - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_video_task } RECORD_GOLD_MINUS_CONVERT_2_CASH -> { title = R.string.record_gold_title_convert_2_cash description = R.string.record_gold_descr_convert_2_cash - iconRes = R.mipmap.icon_ad + iconRes = R.mipmap.icon_convert_cash } } } diff --git a/app/src/main/java/com/gamedog/vididin/features/withdrawrecord/RecordCashRvAdapter.kt b/app/src/main/java/com/gamedog/vididin/features/withdrawrecord/RecordCashRvAdapter.kt index a46202a..8bfa2d3 100644 --- a/app/src/main/java/com/gamedog/vididin/features/withdrawrecord/RecordCashRvAdapter.kt +++ b/app/src/main/java/com/gamedog/vididin/features/withdrawrecord/RecordCashRvAdapter.kt @@ -7,6 +7,7 @@ import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.ama.core.architecture.util.ResUtil import com.gamedog.vididin.beans.RecordCashShow +import com.gamedog.vididin.core.login.login.AccountManager import com.vididin.real.money.game.R import java.text.SimpleDateFormat import com.vididin.real.money.game.databinding.FragmentWithdrawRecordCashItemBinding as ViewBinding @@ -27,7 +28,7 @@ class RecordCashRvAdapter : ListAdapter