CalCOFI / OceanView

App that can incentivize ocean users to report their observations
1 stars 0 forks source link

Profile #9

Closed mfrants closed 1 year ago

hundredball commented 1 year ago

Since observation_page is pushed to upload_page instead of being its child widget, the provider of userStats in upload_page cannot be passed to observation_page. Therefore, observation_stream is used as a parent widget to provide userStats to observation_page. The same situation could be applied to upload_session.

hundredball commented 1 year ago

Could you change the file name of profile_page.dart and profile.dart to be consistent with the widget's name in the file? profile_page.dart -> user_page.dart profile.dart -> profile_page.dart

Thank you for your time, Marina!

hundredball commented 1 year ago

Thank you for pushing the new change, Marina! I cannot run the code due to Android version. After upgrading the version and modifying some outdated function calls, it works for me. The first-time login will be on the Welcome page and then the next time will be on the profile page. I am not sure if these changes for Android also work for you. If it makes sense, I will merge it.