From 7d1e4b64b1d58b5cbdbb03949b403988127e67e4 Mon Sep 17 00:00:00 2001 From: renhaoting <370797079@qq.com> Date: Wed, 7 Jan 2026 18:57:27 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20bug:=20-=20=E6=8F=90=E7=8E=B0=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E9=87=8C=E5=A4=B1=E8=B4=A5=E7=9A=84=E5=8E=9F=E5=9B=A0?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=8C=89=E7=85=A7=E9=99=84=E4=BB=B6=E9=87=8C?= =?UTF-8?q?=E9=82=A3=E4=B8=AA=E5=A4=9A=E8=AF=AD=E8=A8=80=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vididin/manager/WithdrawManager.kt | 20 +++++++++++++++++-- app/src/main/res/values-pt/strings.xml | 4 ++++ app/src/main/res/values/strings.xml | 4 ++-- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt b/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt index 018cd3a..6983842 100644 --- a/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt +++ b/app/src/main/java/com/gamedog/vididin/manager/WithdrawManager.kt @@ -344,7 +344,23 @@ class WithdrawManager private constructor() { fun getFailHintStrRes(failType: Int) : Int { var failTextRes = R.string.withdraw_normal_fail when (failType) { - ERROR_COMMON_UNKNOW -> { + // 仅仅显示三种 + ERROR_PAYOUT_ACCOUNT_INVALID -> { + failTextRes = R.string.withdraw_account_invalid + } + + + ERROR_PAYOUT_REACH_TOTAL_LIMIT, ERROR_PAYOUT_TODAY_NO_CHANCE, + ERROR_PAYOUT_ACCOUNT_REACH_TIMES_LIMIT, ERROR_PAYOUT_REACH_TIMES_LIMIT -> { + failTextRes = R.string.withdraw_fail_reach_times_limit + } + + else -> { + failTextRes = R.string.withdraw_normal_fail + } + + + /*ERROR_COMMON_UNKNOW -> { failTextRes = R.string.withdraw_normal_fail } @@ -410,7 +426,7 @@ class WithdrawManager private constructor() { ERROR_PAYOUT_MUST_WITHDRAW01_FIRST -> { failTextRes = R.string.withdraw_fail_must_withdraw_01_first - } + }*/ } return failTextRes } diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 7cd49ad..cb8485a 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -54,4 +54,8 @@ Finish all tasks to earn! Withdrawal failed. Check your withdrawal history for details. + Other Error + Account Error + Daily limit reached + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2b9831d..f8bb26a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -225,12 +225,12 @@ Withdrawing Country restriction Reach amount limit - Reach times limit + Limite diário atingido You have no more withdrawal opportunities today. Your account is reach times limit Your account is not valid You have to withdraw 0.1 firstly - Your CPF account is invalid. + Erro de conta Retirada falhou. Verifique o histórico de retiradas para detalhes.