Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a User without a profile picture #10

Closed
wsciaroni opened this issue Jan 24, 2021 · 1 comment
Closed

Create a User without a profile picture #10

wsciaroni opened this issue Jan 24, 2021 · 1 comment

Comments

@wsciaroni
Copy link

Background

It appears that when you create a user and don't provide a profile picture an exception is thrown.

Steps to Recreate:

  • Create an account WITHOUT a profile picture
  • You will see the exception thrown in the debug terminal

The account will still have created successfully, but you will still receive the exception every time you launch the app afterwards (as the app is trying to pull an image from the url "" every time the app is launched)

Expected behavior

If a profile picture is not provided, the default image for a profile picture should be used.

@mostafaAbdelazim
Copy link
Contributor

This is not an actual issue, we leave the profile picture string empty, the CachedNetworkImage widget fails to load the empty url (that's expected) and then prints that to the console, then loads the errorWidget which has the default image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants