Try showMessage instead of showAlert
parent
757c87ffb0
commit
09ff5120a2
|
|
@ -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()}`;
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue