aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-14 08:47:56 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-14 08:53:42 +0800
commit108c4ab2c58074aa8148828fbbef8cbf3a4e23f5 (patch)
treee09b0ee929a73cd5d545ac90f695b23568c9ef58 /ui/lib
parentde500250c463f51f68abff44c8ed6c20912b48c0 (diff)
downloadtangerine-wallet-browser-108c4ab2c58074aa8148828fbbef8cbf3a4e23f5.tar
tangerine-wallet-browser-108c4ab2c58074aa8148828fbbef8cbf3a4e23f5.tar.gz
tangerine-wallet-browser-108c4ab2c58074aa8148828fbbef8cbf3a4e23f5.tar.bz2
tangerine-wallet-browser-108c4ab2c58074aa8148828fbbef8cbf3a4e23f5.tar.lz
tangerine-wallet-browser-108c4ab2c58074aa8148828fbbef8cbf3a4e23f5.tar.xz
tangerine-wallet-browser-108c4ab2c58074aa8148828fbbef8cbf3a4e23f5.tar.zst
tangerine-wallet-browser-108c4ab2c58074aa8148828fbbef8cbf3a4e23f5.zip
Auto populate token list with popular token balances
Half implements #175 Things to do: - Add ability to add tokens to the list. - Persist the token tab selection (so it is an implicit preference) - Check what's up with the token-tracker polling, it seems like it is not waiting the interval.
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/icon-factory.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/lib/icon-factory.js b/ui/lib/icon-factory.js
index 4ee6b600b..27a74de66 100644
--- a/ui/lib/icon-factory.js
+++ b/ui/lib/icon-factory.js
@@ -44,7 +44,7 @@ IconFactory.prototype.generateNewIdenticon = function (address, diameter) {
// util
function iconExistsFor (address) {
- return (contractMap.address) && isValidAddress(address) && (contractMap[address].logo)
+ return contractMap[address] && isValidAddress(address) && contractMap[address].logo
}
function imageElFor (address) {
@@ -53,7 +53,7 @@ function imageElFor (address) {
const path = `images/contract/${fileName}`
const img = document.createElement('img')
img.src = path
- img.style.width = '100%'
+ img.style.width = '75%'
return img
}