PullDating / FlutterApplication

The frontend flutter application, contains code for IOS, Android and web
GNU Affero General Public License v3.0
3 stars 1 forks source link

Edit profile does not show the correct photo order when you save and go back in. #58

Open WilliamDormer opened 2 years ago

WilliamDormer commented 2 years ago

Summary

When you open the app for the first time, it works properly, showing the photos in the order that was present in the database at the time. Then you can reorder the photos within the edit profile page. However, once you try to save that and go back in, it does not have the order you saved, but instead the original order. This is very strange because the database commands for saving the profile are working properly, and the correct pre-signed urls are sent from the server. It is simply something strange with the display/initialization on the flutter side of things.

Steps to reproduce

  1. Open application2.
  2. Navigate to profile page.
  3. Click edit profile icon.
  4. Reorder photos5.
  5. Save and exit page6.
  6. Click on edit profile icon again
  7. Photos will be in the wrong order in the list.

What is the expected correct behavior?

Instead the photos should be in the correct order that was just saved prior.

Environment

android studio + flutter visual studio code + nodejs google pixel emulator for android.

Possible fixes