luankevinferreira / expenses

Simple app for expenses control
https://play.google.com/store/apps/details?id=luankevinferreira.expenses
GNU General Public License v3.0
4 stars 0 forks source link

App returns wrong value of input when trying to edit #28

Open mcyusuf opened 6 years ago

mcyusuf commented 6 years ago

Expected behavior

After saving an expenditure value, and trying to edit the input, the app should return the same value saved at first

Actual behavior

When I try to edit a saved value for an expense, the app alters the value. (This happens with values with more than 8digits)

How to reproduce

  1. Tap the + button to create an expense
  2. Input the amount and description (make use of an amount with 8 digits above) and then save
  3. Click on the monthly total expenses to display the list of expenses saved
  4. Tap on the expense you want to edit
  5. Check the value returned

    Recording of bug

    https://youtu.be/-Rm-ksOP2bA

luankevinferreira commented 6 years ago

If you want to, send me a patch with this fix 👍