1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

open ImageView when clicking on a set avatar

This commit is contained in:
Michael Telatynski
2019-12-16 15:08:22 +00:00
parent 9fa2680dc6
commit 5ab98e9899
4 changed files with 26 additions and 3 deletions

View File

@@ -157,6 +157,7 @@ export default class ProfileSettings extends React.Component {
</div>
<AvatarSetting
avatarUrl={this.state.avatarUrl}
avatarName={this.state.displayName || this.state.userId}
avatarAltText={_t("Profile picture")}
uploadAvatar={this._uploadAvatar}
removeAvatar={this._removeAvatar} />