mirror of https://github.com/espruino/BangleApps
Settings name tweak
parent
dae7fe3b0f
commit
8b86190a36
|
@ -50,7 +50,7 @@ function showMainMenu() {
|
||||||
updateSettings();
|
updateSettings();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'Dev': {
|
'Programmable': {
|
||||||
value: settings.dev,
|
value: settings.dev,
|
||||||
format: boolFormat,
|
format: boolFormat,
|
||||||
onchange: () => {
|
onchange: () => {
|
||||||
|
@ -163,6 +163,7 @@ function showResetMenu() {
|
||||||
|
|
||||||
function makeConnectable() {
|
function makeConnectable() {
|
||||||
try { NRF.wake(); } catch(e) {}
|
try { NRF.wake(); } catch(e) {}
|
||||||
|
Bluetooth.setConsole(1);
|
||||||
var name="Bangle.js "+NRF.getAddress().substr(-5).replace(":","");
|
var name="Bangle.js "+NRF.getAddress().substr(-5).replace(":","");
|
||||||
E.showPrompt(name+"\nStay Connectable?",{title:"Connectable"}).then(r=>{
|
E.showPrompt(name+"\nStay Connectable?",{title:"Connectable"}).then(r=>{
|
||||||
if (settings.ble!=r) {
|
if (settings.ble!=r) {
|
||||||
|
|
Loading…
Reference in New Issue