DennisBauer / RecurringExpenseTracker

A Material You recurring expense tracker, allowing you to keep track of your monthly spending.
GNU General Public License v3.0
102 stars 15 forks source link

Different currencies in Home and Upcoming views #305

Closed sabbaghpierre closed 1 month ago

sabbaghpierre commented 1 month ago

Android version(s):

Android 14, One UI 6.1

Device model(s):

Samsung A14

Last working app version (if known):

-

Description of problem:

I have added expenses, and my default currency is USD. On the Home tab, the currency is correctly displayed, however on the Upcoming tab, it's showing a different currency (£).

Screenshot or video of problem:

Additional information:

I believe I added one expense, and then changed the default currency. No idea if this triggered the issue.

DennisBauer commented 1 month ago

You can choose the currency for each expense when adding or editing it. In the overview all expenses will be shown converted to your default currency (from settings) if you use a different from the default. On the "Upcoming" tab the expense is shown in the currency you'll pay on that day, that was actually by intention. Would you like to see the currency converted to your local currency the same as on the overview? I could think of showing the converted currency next to the original one on the upcoming tab.

sabbaghpierre commented 1 month ago

When adding my expenses, I manually selected USD as the price. Afterwards, I changed the default currency in the "Settings" tab to USD. In the "Home" tab, my expenses are shown correctly in USD. However, in the "Upcoming" tab they are shown in Pound Sterling, even tho I have never selected this option. I forgot what the default currency was before changing it to USD. If I edit an expense in the "Home" tab and change it to Euro for example, it will be shown correctly as Euro in the "Upcoming" tab, however, when reverting it to back to USD, it will be shown as Pound Sterling again.

Screenshot_20240826_091442

Screenshot_20240826_091455

Screenshot_20240826_091457

DennisBauer commented 1 month ago

Ok thanks for giving more insights on this. Does this only happen when you change the currency and check the upcoming tab right after or is this still the case if you close the app by swiping it away and opening it again? It might just be an issue of refreshing the UI after changing the default currency :thinking:

DennisBauer commented 1 month ago

I tested the scenario as you described and can reproduce it. This is actually a bug, thanks for finding and reporting it.

sabbaghpierre commented 1 month ago

Glad I could help, I'm ready to provide you with more details from my end in case you need them.

Fantastic app btw! Exactly what I needed. The only feature that's missing is the Notifications for Upcoming Payments, but I have noticed that you already opened an issue about the subject!

Thank you for your hard work.