Improve readability
parent
2e57839c6f
commit
861afb1255
|
|
@ -143,10 +143,9 @@ function showDetails() {
|
||||||
const priceFmt = ciLib.formatPriceString(tokenInfo.price);
|
const priceFmt = ciLib.formatPriceString(tokenInfo.price);
|
||||||
const mCapFmt = ciLib.formatPriceString(tokenInfo.marketCap);
|
const mCapFmt = ciLib.formatPriceString(tokenInfo.marketCap);
|
||||||
const msg = `
|
const msg = `
|
||||||
Details for ${token.toUpperCase()}\n
|
${token.toUpperCase()}\n
|
||||||
Price: ${priceFmt}\n
|
Price: ${priceFmt}
|
||||||
Market Cap: ${mCapFmt}\n
|
M-Cap: ${mCapFmt}\n
|
||||||
// Add more fields as needed
|
|
||||||
`;
|
`;
|
||||||
E.showAlert(msg, "Token Details").then(function() {
|
E.showAlert(msg, "Token Details").then(function() {
|
||||||
// print("Ok pressed");
|
// print("Ok pressed");
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "coin_info",
|
{ "id": "coin_info",
|
||||||
"name": "Crypto-Coins Info",
|
"name": "Crypto-Coins Info",
|
||||||
"shortName":"Coins Info",
|
"shortName":"Coins Info",
|
||||||
"version": "0.06.61",
|
"version": "0.06.62",
|
||||||
"description": "Crypto-Coins Infos with the help of the Binance API",
|
"description": "Crypto-Coins Infos with the help of the Binance API",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "clkinfo",
|
"tags": "clkinfo",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue