diff --git a/app/src/main/java/net/pokeranalytics/android/model/utils/Seed.kt b/app/src/main/java/net/pokeranalytics/android/model/utils/Seed.kt
index 4139784e..d4a1e567 100644
--- a/app/src/main/java/net/pokeranalytics/android/model/utils/Seed.kt
+++ b/app/src/main/java/net/pokeranalytics/android/model/utils/Seed.kt
@@ -59,11 +59,12 @@ class Seed(var context:Context) : Realm.Transaction {
private fun createDefaultTransactionTypes(realm: Realm) {
TransactionType.Value.values().forEachIndexed { index, value ->
val type = TransactionType()
- type.name = when(value) {
+ val name = when(value) {
TransactionType.Value.WITHDRAWAL -> context.getString(R.string.withdrawal)
TransactionType.Value.DEPOSIT -> context.getString(R.string.deposit)
TransactionType.Value.BONUS -> context.getString(R.string.bonus)
}
+ type.name = name
type.additive = value.additive
type.kind = index
type.lock = true
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 30fd8f01..9d0dd112 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -20,8 +20,8 @@
%s deleted
The end date should be after the start date
Save
- Tournament Name
- Tournament Feature
+ Tournament name
+ Tournament feature
Pending
Poker Analytics is a poker tracking app. We’re currently on our way to reproduce the iOS app and you’re currently using a lighter version. The app will work with a US$29.99 yearly subscription for an unlimited usage, but will be free until reaching the appropriate feature coverage.
I understand
@@ -688,7 +688,7 @@
Feed
Check that your transaction has a type and an amount
You need to name the transaction type
- Transaction types
+ Transaction type
Transactions
Add a transaction
An identical transaction already exists