wip: hooking up avatar cropper

This commit is contained in:
or-else
2021-07-10 17:17:48 -07:00
parent 6b8c3949a0
commit 0195aae6ff
7 changed files with 44 additions and 14 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ export default class AccGeneralView extends React.Component {
handleImageChanged(img) {
this.setState({avatar: img});
this.props.onUpdateAccount(undefined, theCard(null, img || Tinode.DEL_CHAR));
this.props.onBasicNavigate('crop');
// this.props.onUpdateAccount(undefined, theCard(null, img || Tinode.DEL_CHAR));
}
handleCredChange(e) {