Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
npiot1 committed Nov 14, 2018
1 parent 7aff39c commit bbae72f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/parisnanterre/fr/lexify/database/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class User implements Serializable {
String _email;
String _pass;
String description;
CircleImageView avatar;
String avatar;
String name;

public String getDescription() {
Expand All @@ -22,11 +22,11 @@ public void setDescription(String description) {
this.description = description;
}

public CircleImageView getAvatar() {
public String getAvatar() {
return avatar;
}

public void setAvatar(CircleImageView avatar) {
public void setAvatar(String avatar) {
this.avatar = avatar;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {

CircleImageView image = (CircleImageView) findViewById(R.id.ivProfile);
image.setImageBitmap(bitmap);
u.setAvatar(image);
//u.setAvatar(image);
} catch (IOException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit bbae72f

Please sign in to comment.