Try showMessage instead of showAlert

master
Martin Zwigl 2025-03-21 23:32:19 +01:00
parent 757c87ffb0
commit 09ff5120a2
2 changed files with 9 additions and 8 deletions

View File

@ -147,13 +147,14 @@ function showDetails() {
Price: ${priceFmt} Price: ${priceFmt}
M-Cap: ${mCapFmt}\n M-Cap: ${mCapFmt}\n
`; `;
E.showAlert(msg, "Token Details").then(function() { // E.showAlert(msg, "Token Details").then(function() {
// print("Ok pressed"); // // print("Ok pressed");
g.clear(); // g.clear();
layout.forgetLazyState(); // layout.forgetLazyState();
layout.render(); // layout.render();
layout.setUI(); // layout.setUI();
}); // });
E.showMessage(msg, "Token Details");
}) })
.catch(err => { .catch(err => {
const msg = `Failed to fetch details for ${token.toUpperCase()}`; const msg = `Failed to fetch details for ${token.toUpperCase()}`;

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.64", "version": "0.06.65",
"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",