From c9729ca9c49a2e0e3614ee63147bae40f4fba877 Mon Sep 17 00:00:00 2001 From: xxDUxx <96152564+xxDUxx@users.noreply.github.com> Date: Wed, 3 Aug 2022 07:30:34 +0200 Subject: [PATCH] Update app.js --- apps/tinyVario/app.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/tinyVario/app.js b/apps/tinyVario/app.js index e4b8a3ab5..b9a87c821 100644 --- a/apps/tinyVario/app.js +++ b/apps/tinyVario/app.js @@ -266,9 +266,7 @@ function initAltMenu() { }}, {type:"btn", font:"16%", pad:1, fillx:1, label:"SAVE", cb: ()=>{ require('Storage').writeJSON("tinyVario.json", settings); - var o=Bangle.getOptions(); - o.seaLevelPressure=qnh; - Bangle.setOptions(o); + Bangle.setOptions({seaLevelPressure:qnh}); initPFD(); }} ]}