diff --git a/apps/coin_info/ChangeLog b/apps/coin_info/ChangeLog index 7f266ab62..2b1dda094 100644 --- a/apps/coin_info/ChangeLog +++ b/apps/coin_info/ChangeLog @@ -3,4 +3,4 @@ 0.05: Lot of cleanup 0.06: Creating app v1 0.07: Finishing touches for v1 -0.08: Clean up \ No newline at end of file +0.09: Clean up \ No newline at end of file diff --git a/apps/coin_info/app.js b/apps/coin_info/app.js index 531b67166..128bddade 100644 --- a/apps/coin_info/app.js +++ b/apps/coin_info/app.js @@ -1,4 +1,4 @@ -const logFile = require("Storage").open("coin_info_log.txt", "a"); +// const logFile = require("Storage").open("coin_info_log.txt", "a"); const db = require("Storage").readJSON("coin_info.cmc_key.json", 1) || {}; const csTokens = db.csTokens.split(','); // @@ -37,7 +37,6 @@ Bangle.on("swipe", swipeHandler); // -var gridYValue = 5; function renderGraph(l) { const bounds = ciLib.findMinMax(tknChrtData); // logFile.write("?. graphy: " + JSON.stringify(bounds) + "\n"); @@ -46,7 +45,7 @@ function renderGraph(l) { x: l.x, y: l.y, width: l.w, height: l.h, miny: bounds.min, maxy: bounds.max, - // gridy: gridYValue + // gridy: 5 }); } @@ -107,9 +106,6 @@ function getChart(period) { // just not readable optSpacing = ciLib.calculateOptimalYAxisSpacing(tknChrtData); - // logFile.write("Y-Axis:" + JSON.stringify(oSpcOjb)); - // gridYValue = oSpcOjb.interval; - // g.clearRect(layout.tknGraph.x, layout.tknGraph.y, layout.tknGraph.w, layout.tknGraph.h); layout.forgetLazyState(); // Force a full re-render diff --git a/apps/coin_info/clkinfo.js b/apps/coin_info/clkinfo.js index c9c69d583..63a3eb9d0 100644 --- a/apps/coin_info/clkinfo.js +++ b/apps/coin_info/clkinfo.js @@ -5,7 +5,7 @@ const settings = require("Storage").readJSON("coin_info.settings.json", 1) || {}; const db = require("Storage").readJSON("coin_info.cmc_key.json", 1) || {}; - const logFile = require("Storage").open("coin_info_log.txt", "a"); + // const logFile = require("Storage").open("coin_info_log.txt", "a"); const ciLib = require("coin_info"); if (!(settings.tokenSelected instanceof Array)) settings.tokenSelected = []; diff --git a/apps/coin_info/metadata.json b/apps/coin_info/metadata.json index 1c75c3fcd..4a2278cbc 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.08", + "version": "0.09", "description": "Crypto-Coins Infos with the help of the Binance API", "icon": "app.png", "tags": "clkinfo",