1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix account name editing (#8801)

Editing the name of an account was accidentally made impossible when
FontAwesome was updated in #8256, because the icon we used to use for
the edit button (`fa fa-pencil`) was no longer free. The icon has been
switched to `fas fa-pencil-alt`, which is free.
This commit is contained in:
Mark Stacey 2020-06-12 23:06:19 -03:00 committed by GitHub
parent f17aa87a65
commit 31bb86c596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ class EditableLabel extends Component {
<div key={1} className="editable-label__value">{this.state.value}</div>
), (
<div key={2} className="editable-label__icon-wrapper">
<i className="fa fa-pencil editable-label__icon" onClick={() => this.setState({ isEditing: true })} />
<i className="fas fa-pencil-alt editable-label__icon" onClick={() => this.setState({ isEditing: true })} />
</div>
)]
}