mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixes changes requested in pullrequestreview-79088534
This commit is contained in:
parent
abefcc9612
commit
a34362b776
@ -9,6 +9,7 @@ class PreferencesController {
|
||||
frequentRpcList: [],
|
||||
currentAccountTab: 'history',
|
||||
tokens: [],
|
||||
useBlockie: false,
|
||||
}, opts.initState)
|
||||
this.store = new ObservableStore(initState)
|
||||
}
|
||||
|
@ -102,6 +102,7 @@
|
||||
"fast-levenshtein": "^2.0.6",
|
||||
"fuse.js": "^3.2.0",
|
||||
"gulp-autoprefixer": "^4.0.0",
|
||||
"gulp": "github:gulpjs/gulp#4.0",
|
||||
"gulp-eslint": "^4.0.0",
|
||||
"gulp-sass": "^3.1.0",
|
||||
"hat": "0.0.3",
|
||||
|
@ -33,7 +33,7 @@ IdenticonComponent.prototype.render = function () {
|
||||
? (
|
||||
h('div', {
|
||||
className: `${className} identicon`,
|
||||
key: useBlockie ? 'blockie' : 'identicon-' + address,
|
||||
key: 'identicon-' + address,
|
||||
style: {
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
@ -70,7 +70,7 @@ IdenticonComponent.prototype.componentDidMount = function () {
|
||||
const diameter = props.diameter || this.defaultDiameter
|
||||
|
||||
if (useBlockie) {
|
||||
_generateBlockie(container, address)
|
||||
_generateBlockie(container, address, diameter)
|
||||
} else {
|
||||
_generateJazzicon(container, address, diameter)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user