mirror of https://github.com/espruino/BangleApps
btadv: drop accel button
parent
99b72333e5
commit
6a4c1f2c27
|
@ -130,8 +130,7 @@ const settings: BtAdvMap<boolean> = {
|
||||||
mag: false,
|
mag: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
const idToName: BtAdvMap<string, true> = {
|
const idToName: BtAdvMap<string> = {
|
||||||
acc: "Acceleration",
|
|
||||||
bar: "Barometer",
|
bar: "Barometer",
|
||||||
gps: "GPS",
|
gps: "GPS",
|
||||||
hrm: "HRM",
|
hrm: "HRM",
|
||||||
|
@ -223,15 +222,6 @@ const btnLayout = new Layout(
|
||||||
{
|
{
|
||||||
type: "h",
|
type: "h",
|
||||||
c: [
|
c: [
|
||||||
{
|
|
||||||
type: "btn",
|
|
||||||
label: idToName.acc,
|
|
||||||
id: "acc",
|
|
||||||
cb: () => {},
|
|
||||||
...btnStyle,
|
|
||||||
col: colour.on,
|
|
||||||
btnBorder: colour.on,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: "btn",
|
type: "btn",
|
||||||
label: "Back",
|
label: "Back",
|
||||||
|
|
Loading…
Reference in New Issue