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: [],
|
frequentRpcList: [],
|
||||||
currentAccountTab: 'history',
|
currentAccountTab: 'history',
|
||||||
tokens: [],
|
tokens: [],
|
||||||
|
useBlockie: false,
|
||||||
}, opts.initState)
|
}, opts.initState)
|
||||||
this.store = new ObservableStore(initState)
|
this.store = new ObservableStore(initState)
|
||||||
}
|
}
|
||||||
|
@ -102,6 +102,7 @@
|
|||||||
"fast-levenshtein": "^2.0.6",
|
"fast-levenshtein": "^2.0.6",
|
||||||
"fuse.js": "^3.2.0",
|
"fuse.js": "^3.2.0",
|
||||||
"gulp-autoprefixer": "^4.0.0",
|
"gulp-autoprefixer": "^4.0.0",
|
||||||
|
"gulp": "github:gulpjs/gulp#4.0",
|
||||||
"gulp-eslint": "^4.0.0",
|
"gulp-eslint": "^4.0.0",
|
||||||
"gulp-sass": "^3.1.0",
|
"gulp-sass": "^3.1.0",
|
||||||
"hat": "0.0.3",
|
"hat": "0.0.3",
|
||||||
|
@ -33,7 +33,7 @@ IdenticonComponent.prototype.render = function () {
|
|||||||
? (
|
? (
|
||||||
h('div', {
|
h('div', {
|
||||||
className: `${className} identicon`,
|
className: `${className} identicon`,
|
||||||
key: useBlockie ? 'blockie' : 'identicon-' + address,
|
key: 'identicon-' + address,
|
||||||
style: {
|
style: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
@ -70,7 +70,7 @@ IdenticonComponent.prototype.componentDidMount = function () {
|
|||||||
const diameter = props.diameter || this.defaultDiameter
|
const diameter = props.diameter || this.defaultDiameter
|
||||||
|
|
||||||
if (useBlockie) {
|
if (useBlockie) {
|
||||||
_generateBlockie(container, address)
|
_generateBlockie(container, address, diameter)
|
||||||
} else {
|
} else {
|
||||||
_generateJazzicon(container, address, diameter)
|
_generateJazzicon(container, address, diameter)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user