fix incorrect string identifier

This commit is contained in:
Phillip Thelen 2016-08-13 15:00:51 +02:00
parent 43a63794bc
commit abc83a38c2
3 changed files with 3 additions and 4 deletions

View file

@ -374,7 +374,7 @@ To start, which parts of your life do you want to improve?</string>
<string name="hourglass">hourglass</string>
<string name="hourglasses">hourglasses</string>
<string name="gold_singular">gold</string>
<string name="gems_plural">gold</string>
<string name="gold_plural">gold</string>
<string name="chat_message_copied">Message copied to Clipboard</string>
<string name="copy_chat_message">Copy to clipboard</string>
</resources>

View file

@ -144,7 +144,7 @@ public class ShopRecyclerAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
if (item.getValue() == 1) {
currencyString = context.getString(R.string.gold_singular);
} else {
currencyString = context.getString(R.string.gems_plural);
currencyString = context.getString(R.string.gold_plural);
}
} else if (item.getCurrency().equals("hourglasses")) {
if (item.getValue() == 1) {

View file

@ -317,8 +317,7 @@ public class HabitRPGUser extends BaseModel {
authentication.user_id = id;
flags.user_id = id;
if (contributor != null) { contributor.user_id = id; }
contributor.user_id = id;
invitations.user_id = id;
if (invitations != null) { invitations.user_id = id; }
ArrayList<Task> allTasks = new ArrayList<Task>();