run 0.17: Ensure screen redraws after "Resume run?" menu (#3044)

pull/3046/head
Gordon Williams 2023-10-13 09:03:27 +01:00
parent d7756ee175
commit ee405145ca
6 changed files with 14 additions and 4 deletions

View File

@ -15,3 +15,4 @@
0.14: Fix Bangle.js 1 issue where after the 'overwrite track' menu, the start/stop button stopped working 0.14: Fix Bangle.js 1 issue where after the 'overwrite track' menu, the start/stop button stopped working
0.15: Keep run state between runs (allowing you to exit and restart the app) 0.15: Keep run state between runs (allowing you to exit and restart the app)
0.16: Added ability to resume a run that was stopped previously (fix #1907) 0.16: Added ability to resume a run that was stopped previously (fix #1907)
0.17: Ensure screen redraws after "Resume run?" menu (#3044)

View File

@ -60,7 +60,11 @@ function onStartStop() {
isMenuDisplayed = true; isMenuDisplayed = true;
return E.showPrompt("Resume run?",{title:"Run"}); return E.showPrompt("Resume run?",{title:"Run"});
}).then(r => { }).then(r => {
isMenuDisplayed=false;shouldResume=r; isMenuDisplayed = false;
layout.setUI(); // grab our input handling again
layout.forgetLazyState();
layout.render();
shouldResume = r;
}); });
} }

View File

@ -1,6 +1,6 @@
{ "id": "run", { "id": "run",
"name": "Run", "name": "Run",
"version":"0.16", "version":"0.17",
"description": "Displays distance, time, steps, cadence, pace and more for runners.", "description": "Displays distance, time, steps, cadence, pace and more for runners.",
"icon": "app.png", "icon": "app.png",
"tags": "run,running,fitness,outdoors,gps", "tags": "run,running,fitness,outdoors,gps",

View File

@ -22,3 +22,4 @@ Write to correct settings file, fixing settings not working.
0.20: Tweak HRM min/max defaults. Extend min/max intervals in settings. Fix 0.20: Tweak HRM min/max defaults. Extend min/max intervals in settings. Fix
another typo. another typo.
0.21: Rebase on "Run" app ver. 0.16. 0.21: Rebase on "Run" app ver. 0.16.
0.22: Ensure screen redraws after "Resume run?" menu (#3044)

View File

@ -71,7 +71,11 @@ function onStartStop() {
isMenuDisplayed = true; isMenuDisplayed = true;
return E.showPrompt("Resume run?",{title:"Run"}); return E.showPrompt("Resume run?",{title:"Run"});
}).then(r => { }).then(r => {
isMenuDisplayed=false;shouldResume=r; isMenuDisplayed=false;
layout.setUI(); // grab our input handling again
layout.forgetLazyState();
layout.render();
shouldResume=r;
}); });
} }

View File

@ -1,7 +1,7 @@
{ {
"id": "runplus", "id": "runplus",
"name": "Run+", "name": "Run+",
"version": "0.21", "version": "0.22",
"description": "Displays distance, time, steps, cadence, pace and more for runners. Based on the Run app, but extended with additional screen for heart rate interval training.", "description": "Displays distance, time, steps, cadence, pace and more for runners. Based on the Run app, but extended with additional screen for heart rate interval training.",
"icon": "app.png", "icon": "app.png",
"tags": "run,running,fitness,outdoors,gps,karvonen,karvonnen", "tags": "run,running,fitness,outdoors,gps,karvonen,karvonnen",