From 2419f951c7f932e7a8203937c83d9ea1b1a0889d Mon Sep 17 00:00:00 2001 From: kutalek Date: Wed, 22 Nov 2023 11:59:12 -0800 Subject: [PATCH] Fix show correct text for buy data bounties. Update Version --- app/build.gradle.kts | 4 ++-- app/src/main/java/com/hover/stax/domain/model/Bounty.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8e897e403..e24a0b61b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -41,7 +41,7 @@ configurations.all { } group = "com.hover" -version = "1.19.12" +version = "1.19.13" android { @@ -53,7 +53,7 @@ android { applicationId = "com.hover.stax" minSdk = 21 targetSdk = 33 - versionCode = 222 + versionCode = 223 versionName = project.version.toString() vectorDrawables.useSupportLibrary = true multiDexEnabled = true diff --git a/app/src/main/java/com/hover/stax/domain/model/Bounty.kt b/app/src/main/java/com/hover/stax/domain/model/Bounty.kt index 44c7c4f90..99775361a 100644 --- a/app/src/main/java/com/hover/stax/domain/model/Bounty.kt +++ b/app/src/main/java/com/hover/stax/domain/model/Bounty.kt @@ -37,7 +37,7 @@ class Bounty(val action: HoverAction, val transactions: List) { HoverAction.ME2ME -> c.getString(R.string.descrip_bounty_me2me, action.to_institution_name) HoverAction.BILL -> c.getString(R.string.descrip_bounty_bill, if (action.isOnNetwork) "" else c.getString(R.string.descrip_bounty_c2b_b, action.to_institution_name)) HoverAction.MERCHANT -> c.getString(R.string.descrip_bounty_merchant, c.getString(R.string.bounty_merchant_any)) - HoverAction.DATA -> c.getString(R.string.descrip_bounty_data, getNetworkString(c)) + HoverAction.BUY_DATA -> c.getString(R.string.descrip_bounty_data, getNetworkString(c)) else -> c.getString(R.string.check_balance) } @@ -47,7 +47,7 @@ class Bounty(val action: HoverAction, val transactions: List) { HoverAction.ME2ME -> c.getString(R.string.bounty_me2me_explain, action.to_institution_name) HoverAction.BILL -> c.getString(R.string.bounty_bill_explain, if (action.isOnNetwork) c.getString(R.string.bounty_bill_any) else action.to_institution_name) HoverAction.MERCHANT -> c.getString(R.string.bounty_merchant_explain, c.getString(R.string.bounty_merchant_any)) - HoverAction.DATA -> c.getString(R.string.bounty_data_explain, getNetworkString(c)) + HoverAction.BUY_DATA -> c.getString(R.string.bounty_data_explain, getNetworkString(c)) else -> c.getString(R.string.bounty_balance_explain) }