Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8e7c119ae |
No files matched your search
@@ -349,16 +349,12 @@ function blockscoutOffTokenNoteHtml(token, chainId) {
|
||||
);
|
||||
}
|
||||
|
||||
// The symbol shown for a token line, from these sources in order:
|
||||
//
|
||||
// - the bundled list
|
||||
// - the tokens the user tracks
|
||||
// - the explorer's report, while "Use Blockscout" is on
|
||||
//
|
||||
// The network is the one with `chainId`, or the active network when none is
|
||||
// given. The amount line's scale comes from the same sources. Null when no
|
||||
// source names one, so the token lines keep saying `Unknown token` for a token
|
||||
// nothing knows.
|
||||
// The symbol shown for a token line on the network with `chainId`, or on the
|
||||
// active network when none is given: from the bundled list, the tokens the
|
||||
// user tracks, and, while "Use Blockscout" is on, the explorer's report. The
|
||||
// amount line's scale comes from the same sources. Null when no source names
|
||||
// one, so the token lines keep saying `Unknown token` for a token nothing
|
||||
// knows.
|
||||
function tokenLabel(address, chainId) {
|
||||
return resolveTokenSymbol(address, tokenSourcesByChainId(chainId));
|
||||
}
|
||||
|
||||
@@ -293,8 +293,8 @@ function setUseBlockscout(on) {
|
||||
|
||||
// Draws the page again after a network switch, or after another page changed
|
||||
// "Use Blockscout" or "Check recipients on Etherscan". Every screen counts as
|
||||
// not yet rendered, so "Back" renders again any screen a reopened popup can
|
||||
// render. Settings on top is brought up to date in place; any other screen is
|
||||
// not yet rendered, so "Back" renders the one it lands on under the new
|
||||
// settings. Settings on top is brought up to date in place; any other screen is
|
||||
// drawn again as a reopened popup draws it, which is Home for one that cannot
|
||||
// be rendered from saved state. Without a wallet any other screen is Welcome or
|
||||
// AddWallet. Back only unhides Welcome, so its two checkboxes are set here.
|
||||
|
||||
Reference in new issue
Block a user