mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #1992 from MetaMask/MultipleTokensText
Multiple tokens shows the amount when greater than 1
This commit is contained in:
commit
ec286a2b33
@ -4,6 +4,7 @@
|
||||
|
||||
- Make eth_sign deprecation warning less noisy
|
||||
- Fix bug with network version serialization over synchronous RPC
|
||||
- Add the total amount of tokens when multiple tokens are added under the token list
|
||||
|
||||
## 3.9.11 2017-8-24
|
||||
|
||||
|
@ -95,7 +95,7 @@ TokenList.prototype.renderTokenStatusBar = function () {
|
||||
let msg
|
||||
if (tokens.length === 1) {
|
||||
msg = `You own 1 token`
|
||||
} else if (tokens.length === 1) {
|
||||
} else if (tokens.length > 1) {
|
||||
msg = `You own ${tokens.length} tokens`
|
||||
} else {
|
||||
msg = `No tokens found`
|
||||
|
Loading…
Reference in New Issue
Block a user