forked from FOSS/BangleApps
Draw initial text after setUI in case it removes a back button
parent
88e4625252
commit
34bf96377c
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue