diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-06-24 08:55:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 08:55:10 +0800 |
commit | ac2269b16ebc97a75e06347d5a042caad3cfed54 (patch) | |
tree | 67a985a616e31680a088dd727a82822510ae8bb7 /ui/app/components/identicon.js | |
parent | 2a358d73f8da6600b6f1b279454d756ddabdd36b (diff) | |
parent | 2808fd175bbd65c94847305351ff390e55a336ce (diff) | |
download | tangerine-wallet-browser-ac2269b16ebc97a75e06347d5a042caad3cfed54.tar tangerine-wallet-browser-ac2269b16ebc97a75e06347d5a042caad3cfed54.tar.gz tangerine-wallet-browser-ac2269b16ebc97a75e06347d5a042caad3cfed54.tar.bz2 tangerine-wallet-browser-ac2269b16ebc97a75e06347d5a042caad3cfed54.tar.lz tangerine-wallet-browser-ac2269b16ebc97a75e06347d5a042caad3cfed54.tar.xz tangerine-wallet-browser-ac2269b16ebc97a75e06347d5a042caad3cfed54.tar.zst tangerine-wallet-browser-ac2269b16ebc97a75e06347d5a042caad3cfed54.zip |
Merge pull request #312 from MetaMask/svg-notif
initial svg notifications
Diffstat (limited to 'ui/app/components/identicon.js')
-rw-r--r-- | ui/app/components/identicon.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/app/components/identicon.js b/ui/app/components/identicon.js index 5fe07ce7a..c17bd5122 100644 --- a/ui/app/components/identicon.js +++ b/ui/app/components/identicon.js @@ -39,12 +39,9 @@ IdenticonComponent.prototype.componentDidMount = function () { if (!address) return var container = findDOMNode(this) - var diameter = state.diameter || this.defaultDiameter - var dataUri = iconFactory.iconForAddress(address, diameter) - - var img = document.createElement('img') - img.src = dataUri + var imageify = state.imageify + var img = iconFactory.iconForAddress(address, diameter, imageify) container.appendChild(img) } |