Basic-Car-Maintenance icon indicating copy to clipboard operation
Basic-Car-Maintenance copied to clipboard

BUG - Odometer Reading Doesn't Update Properly

Open mikaelacaron opened this issue 6 months ago • 8 comments

Describe the bug

  • When editing the odometer reading, it doesn't update on the OdometerView after the EditOdometerReadingView is dismissed

To Reproduce

Steps to reproduce the behavior:

  1. Make sure you've added a vehicle
  2. Add an odometer reading
  3. Swipe left, and tap edit
  4. Edit the odometer reading amount
  5. Tap Update, and the view dismisses

Expected behavior

  • The OdometerView should see the updated value, but it's still showing the old value

Screenshots

https://github.com/user-attachments/assets/fb4c7e5b-05b4-46c2-a72b-b92bcc7c02a8

Device Info (please complete the following information):

  • Device: iPhone 15 Pro Simulator
  • OS: iOS 17.5.1
  • App Version v1.0

Additional Context

  • If you can do it without another network call that would be great, but if not, that's fine

mikaelacaron avatar Jul 30 '24 02:07 mikaelacaron