AY2425S1-CS2103-F12-1 / tp

MIT License
0 stars 4 forks source link

Fix long term storage with insurance plans #74

Closed RezwanAhmed123 closed 3 weeks ago

RezwanAhmed123 commented 3 weeks ago

On startup, the client data was not loading the insurance plans correctly from JSON saved data. As such it was possible to add plans that a client already owns after closing and restarting the app.

This makes the app's usefulness for the user a lot worse as they have to keep the app open all the time.

Let's fix this behaviour so the app can be loaded properly from storage.

This will make the app more useful to the user even if they closed the app or the app crashes halfway.

fixes #51

RezwanAhmed123 commented 3 weeks ago

work was duplicated in pr #75