Fixes changes requested in pullrequestreview-79088534

feature/default_network_editable
Jason Clark 7 years ago
parent abefcc9612
commit a34362b776
  1. 1
      app/scripts/controllers/preferences.js
  2. 1
      package.json
  3. 4
      ui/app/components/identicon.js

@ -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…
Cancel
Save