diff --git a/apps/owmweather/interface.html b/apps/owmweather/interface.html index 3d07b81b9..f629a5be9 100644 --- a/apps/owmweather/interface.html +++ b/apps/owmweather/interface.html @@ -32,7 +32,10 @@ document.getElementById("upload").addEventListener("click", function() { try { settings.apikey = document.getElementById("apikey").value; - Util.writeStorage("owmweather.json", JSON.stringify(settings)); + Util.showModal("Saving..."); + Util.writeStorage("owmweather.json", JSON.stringify(settings), ()=>{ + Util.hideModal(); + }); console.log("Sent settings!"); } catch(ex) { console.log("(Warning) Could not write settings to BangleJs.");