-
Notifications
You must be signed in to change notification settings - Fork 0
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
Profile pictures for users #379
Conversation
29f323a
to
ceffefa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks good. I tested it on the emulator and it looks like it works well. Good job!
{ | ||
CoroutineScope(Dispatchers.Main).launch { | ||
_uiState.value.snackbarHostState.showSnackbar( | ||
message = "Error loading profile picture", duration = SnackbarDuration.Short) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add specific error for when the image cannot be found?
|
Closes #262. This PR adds the ability to add and load profile pictures. If the image cannot be fetched, the default icon is displayed and an error is shown, but the page still loads, because it is not a core functionality.
Still needs to be done: refresh the profile picture on reload.