Draw initial text after setUI in case it removes a back button

pull/3641/head
Ian Ward 2024-11-05 13:00:07 +00:00
parent 88e4625252
commit 34bf96377c
2 changed files with 8 additions and 5 deletions

View File

@ -1,2 +1,3 @@
0.01: New App!
0.02: Accents and extended mode characters
0.03: Bugfix - draw initial text after the back button has been removed

View File

@ -352,11 +352,6 @@ exports.input = function(options) {
}
};
// Draw initial string
require("widget_utils").hide();
g.setBgColor(g.theme.bg);
wrapText();
draw();
return new Promise((resolve,reject) => {
Bangle.setUI({
@ -385,6 +380,13 @@ exports.input = function(options) {
}
}
});
// Draw initial string
require("widget_utils").hide();
g.setBgColor(g.theme.bg);
wrapText();
draw();
});