danielxjean / EngLife

This repository will be used for our application named "EngLife" that will be completed for SOEN341.
0 stars 0 forks source link

Bug when not picking a profile picture #74

Closed KevKevR closed 4 years ago

KevKevR commented 4 years ago

There's a bug in the code: while an user edits his profile picture, if he doesn't select a picture (eg. presses back before selecting a picture), the code doesn't properly handle a null image. This occurs in edit_profile.dart, with the _imageSelected attribute.

Edit: There was another line where there needed a null check. See lines affected in #87.