Basic-Car-Maintenance
Basic-Car-Maintenance copied to clipboard
BUG - Odometer Reading Doesn't Update Properly
Describe the bug
- When editing the odometer reading, it doesn't update on the
OdometerView
after theEditOdometerReadingView
is dismissed
To Reproduce
Steps to reproduce the behavior:
- Make sure you've added a vehicle
- Add an odometer reading
- Swipe left, and tap edit
- Edit the odometer reading amount
- 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