diff --git a/apps/clock_info/ChangeLog b/apps/clock_info/ChangeLog index eef68647a..702d78bf1 100644 --- a/apps/clock_info/ChangeLog +++ b/apps/clock_info/ChangeLog @@ -17,4 +17,5 @@ 0.16: Add BLE clkinfo entry 0.17: Fix BLE icon alignment and border on some clocks 0.18: Tweak BLE icon to add gap and ensure middle of B isn't filled -0.19: Fix Altitude ClockInfo after BLE added \ No newline at end of file +0.19: Fix Altitude ClockInfo after BLE added + Tapping Altitude now updates the reading \ No newline at end of file diff --git a/apps/clock_info/lib.js b/apps/clock_info/lib.js index 40e989ffe..e0f48038b 100644 --- a/apps/clock_info/lib.js +++ b/apps/clock_info/lib.js @@ -157,6 +157,7 @@ exports.load = function() { min : 0, max : settings.maxAltitude, img : atob("GBiBAAAAAAAAAAAAAAAAAAAAAAACAAAGAAAPAAEZgAOwwAPwQAZgYAwAMBgAGBAACDAADGAABv///////wAAAAAAAAAAAAAAAAAAAA==") }), + run : function() { alt = "--"; this.emit("redraw"); altUpdateHandler(); }, show : function() { this.interval = setInterval(altUpdateHandler, 60000); alt = "--"; altUpdateHandler(); }, hide : function() { clearInterval(this.interval); delete this.interval; }, });