diff --git a/apps/coin_info/README.md b/apps/coin_info/README.md index b0c624598..b1cf201a5 100644 --- a/apps/coin_info/README.md +++ b/apps/coin_info/README.md @@ -47,4 +47,5 @@ Martin Zwigl ## Possible Improvements / TODOs - Pause HTTP request cycle during show of Details or Lows/Highs -- Better chosing of fonts for more space \ No newline at end of file +- Better choosing of fonts for more space +- set UI properly to have back button next to widgets \ No newline at end of file diff --git a/apps/coin_info/app.js b/apps/coin_info/app.js index b994f87fd..68d4751b2 100644 --- a/apps/coin_info/app.js +++ b/apps/coin_info/app.js @@ -1,5 +1,4 @@ const logFile = require("Storage").open("coin_info_log.txt", "a"); -// const settings = require("Storage").readJSON("coin_info.settings.json", 1) || {}; const db = require("Storage").readJSON("coin_info.cmc_key.json", 1) || {}; const csTokens = db.csTokens.split(','); // @@ -130,16 +129,16 @@ function getChart(period) { function showLowHigh() { const title = `L/H ${csTokens[ticker]}`; // - logFile.write("OptSpacing:" + JSON.stringify(optSpacing) + "\n"); + // logFile.write("OptSpacing:" + JSON.stringify(optSpacing) + "\n"); const first = ciLib.formatPriceString(optSpacing.first); const last = ciLib.formatPriceString(optSpacing.last); - // const low = ciLib.formatPriceString(optSpacing.low); - // const high = ciLib.formatPriceString(optSpacing.high); + const low = ciLib.formatPriceString(optSpacing.min); + const high = ciLib.formatPriceString(optSpacing.max); const msg = ` First: ${first} Last: ${last} - Low: 0 - High: 0 + Low: ${low} + High: ${high} `; E.showAlert(msg, title).then(function() { // print("Ok pressed"); diff --git a/apps/coin_info/metadata.json b/apps/coin_info/metadata.json index 1bd977b0b..fb6e96b24 100644 --- a/apps/coin_info/metadata.json +++ b/apps/coin_info/metadata.json @@ -1,7 +1,7 @@ { "id": "coin_info", "name": "Crypto-Coins Info", "shortName":"Coins Info", - "version": "0.07.04", + "version": "0.07.05", "description": "Crypto-Coins Infos with the help of the Binance API", "icon": "app.png", "tags": "clkinfo",