Android icon indicating copy to clipboard operation
Android copied to clipboard

Card balance changes when Currency is changed

Open andbenn opened this issue 2 weeks ago • 2 comments

Love the app! Long time user.

When entering a card that has a balance, the Currency defaults to Points. If the balance field has a decimal point in it, the balance changes when the currency changes.

    • to start a card
  1. Scan a card
  2. Move to Options tab
  3. Enter balance
  4. 25.64
  5. Change Currency from Points to $
  6. Balance is now 26
  7. Now I have to re-enter the balance, 25.64.
  8. Save

Maybe swap the Currency and Balance field positions so I do them in sequence when going top to bottom, left to right?

andbenn avatar Nov 23 '25 17:11 andbenn

I see what you mean. I'm not sure putting currency on the left will be less confusing though, as "Balance" showing first makes clear it's the currency to the balance. "Currency" alone might be confusing.

Hard to tell what's best here ^^"

TheLastProject avatar Nov 23 '25 20:11 TheLastProject

Hrm, yeah. Could the rounding of the balance be stopped upon a currency change?

andbenn avatar Nov 23 '25 22:11 andbenn

I looked at your issue more deeply but I think the steps to reproduce are wrong. I mean, sure, what you name can happen, but there is a worse issue at play here:

  1. Create/scan a new card
  2. Switch to the options screen
  3. Observe the default balance type is points
  4. Enter a decimal value in the balance field
  5. Focus any other field
  6. Observe the balance field gets truncated to full integers, because you can't have a decimal amount of points

Rounding on currency changing is in my eyes unavoidable because different currencies use different amount of decimals. Euro uses 2 decimals, but some currencies are only full numbers and some may have 1 or 3 decimals.

However, the default currency being points and points having no decimals causes this issue if you fill in a balance before selecting a currency.

I see multiple options:

  1. Default not to points but to the user's device currency: this might make points harder to find
  2. Allow points to have decimals: this makes some sense as there is no guarantee no store out there gives you half a point at some point (no pun intended)
  3. Indeed switch the fields around, to nudge people to choose a good currency first: opening up to this idea, but we should maybe go for a 25/75 split of field size then? Not sure

TheLastProject avatar Nov 29 '25 10:11 TheLastProject

Tried swapping them around in #2855. I think it's actually a bit nicer, you see "Points" first now which gives you more context than the number :)

Let's just go for it, worst case can revert :)

TheLastProject avatar Nov 29 '25 11:11 TheLastProject

Thank you! I will check this out when the next update arrives. This app is so helpful, I appreciate all your efforts.

andbenn avatar Nov 29 '25 22:11 andbenn