Improve readability

master
Martin Zwigl 2025-03-21 22:56:00 +01:00
parent 2e57839c6f
commit 861afb1255
2 changed files with 4 additions and 5 deletions

View File

@ -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");

View File

@ -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",