mirror of https://github.com/espruino/BangleApps
Merge pull request #3641 from retcurve/edgewrite
EdgeWrite: Draw initial text after setUI in case it removes a back buttonpull/3622/head^2
commit
a30c7282cb
|
@ -1,2 +1,3 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
0.02: Accents and extended mode characters
|
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) => {
|
return new Promise((resolve,reject) => {
|
||||||
Bangle.setUI({
|
Bangle.setUI({
|
||||||
|
@ -385,6 +380,13 @@ exports.input = function(options) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Draw initial string
|
||||||
|
require("widget_utils").hide();
|
||||||
|
g.setBgColor(g.theme.bg);
|
||||||
|
wrapText();
|
||||||
|
draw();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ "id": "kbedgewrite",
|
{ "id": "kbedgewrite",
|
||||||
"name": "EdgeWrite keyboard",
|
"name": "EdgeWrite keyboard",
|
||||||
"version":"0.02",
|
"version":"0.03",
|
||||||
"description": "A library for text input via EdgeWrite swipe gestures",
|
"description": "A library for text input via EdgeWrite swipe gestures",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type":"textinput",
|
"type":"textinput",
|
||||||
|
|
Loading…
Reference in New Issue