diff --git a/apps/coin_info/Changelog b/apps/coin_info/Changelog index c474120a6..534411b5b 100644 --- a/apps/coin_info/Changelog +++ b/apps/coin_info/Changelog @@ -1,2 +1,3 @@ 0.01: Initial creation -0.02: Debugging \ No newline at end of file +0.02: Debugging +0.03: Debugging \ No newline at end of file diff --git a/apps/coin_info/app.js b/apps/coin_info/app.js index 4792cfbd5..dd9203b44 100644 --- a/apps/coin_info/app.js +++ b/apps/coin_info/app.js @@ -2,21 +2,11 @@ Bangle.loadWidgets(); Bangle.drawWidgets(); - let counter = 30; - - function countDown() { - counter--; + g.clear(); + // draw the current counter value + g.drawString("TEST", g.getWidth()/2, g.getHeight()/2); - g.clear(); - // draw the current counter value - g.drawString(counter, g.getWidth()/2, g.getHeight()/2); - // optional - this keeps the watch LCD lit up - Bangle.setLCDPower(1); - } - // call countDown every second - var interval = setInterval(countDown, 1000); - // Bangle.setUI({ mode : 'custom', back : Bangle.showClock, diff --git a/apps/coin_info/metadata.json b/apps/coin_info/metadata.json index f077ba3b7..f87c4db77 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.02", + "version": "0.03", "description": "Crypto-Coins Infos with the help of the Coinmarketcap API", "icon": "app.png", "type": "bootloader",