Skip to content

Commit

Permalink
Fix show correct text for buy data bounties. Update Version
Browse files Browse the repository at this point in the history
  • Loading branch information
davkutalek committed Nov 22, 2023
1 parent d2ed6f0 commit 2419f95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ configurations.all {
}

group = "com.hover"
version = "1.19.12"
version = "1.19.13"

android {

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/hover/stax/domain/model/Bounty.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Bounty(val action: HoverAction, val transactions: List<StaxTransaction>) {
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)
}

Expand All @@ -47,7 +47,7 @@ class Bounty(val action: HoverAction, val transactions: List<StaxTransaction>) {
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)
}

Expand Down

0 comments on commit 2419f95

Please sign in to comment.