aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Clark <jason@longview.tech>2017-11-27 23:11:48 +0800
committerJason Clark <jason@longview.tech>2017-11-27 23:11:48 +0800
commita34362b7765f48d24375c9953fa7c49cf3306491 (patch)
treec8b452a7d1d9dadfde1aceded2f08932ca7ed02a
parentabefcc9612d75067474e521486d62684dfeae9c7 (diff)
downloadtangerine-wallet-browser-a34362b7765f48d24375c9953fa7c49cf3306491.tar.gz
tangerine-wallet-browser-a34362b7765f48d24375c9953fa7c49cf3306491.tar.zst
tangerine-wallet-browser-a34362b7765f48d24375c9953fa7c49cf3306491.zip
Fixes changes requested in pullrequestreview-79088534
-rw-r--r--app/scripts/controllers/preferences.js1
-rw-r--r--package.json1
-rw-r--r--ui/app/components/identicon.js4
3 files changed, 4 insertions, 2 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index 7ccb0e730..0aed4dbdf 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.js
@@ -9,6 +9,7 @@ class PreferencesController {
frequentRpcList: [],
currentAccountTab: 'history',
tokens: [],
+ useBlockie: false,
}, opts.initState)
this.store = new ObservableStore(initState)
}
diff --git a/package.json b/package.json
index 087ff4ac8..62ee7c0d3 100644
--- a/package.json
+++ b/package.json
@@ -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",
diff --git a/ui/app/components/identicon.js b/ui/app/components/identicon.js
index 5b3786992..ddd7e65f3 100644
--- a/ui/app/components/identicon.js
+++ b/ui/app/components/identicon.js
@@ -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)
}