Merge pull request #3641 from retcurve/edgewrite

EdgeWrite: Draw initial text after setUI in case it removes a back button
pull/3622/head^2
thyttan 2024-11-06 18:44:55 +01:00 committed by GitHub
commit a30c7282cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 6 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();
});

View File

@ -1,6 +1,6 @@
{ "id": "kbedgewrite",
"name": "EdgeWrite keyboard",
"version":"0.02",
"version":"0.03",
"description": "A library for text input via EdgeWrite swipe gestures",
"icon": "app.png",
"type":"textinput",