allow removing picture when avatar set to null (currently only possible via mobile)

pull/661/head
sachaaaaa 6 years ago
parent a29f0a4120
commit acc19985f5

@ -2312,9 +2312,8 @@
});
}
if (newProfile.avatar) {
// if set to null, it will show a jazzIcon
await this.setProfileAvatar({ path: newProfile.avatar });
}
await this.updateProfileName();
},

Loading…
Cancel
Save