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,
|
||||
};
|
||||
|
||||
const idToName: BtAdvMap<string, true> = {
|
||||
acc: "Acceleration",
|
||||
const idToName: BtAdvMap<string> = {
|
||||
bar: "Barometer",
|
||||
gps: "GPS",
|
||||
hrm: "HRM",
|
||||
|
@ -223,15 +222,6 @@ const btnLayout = new Layout(
|
|||
{
|
||||
type: "h",
|
||||
c: [
|
||||
{
|
||||
type: "btn",
|
||||
label: idToName.acc,
|
||||
id: "acc",
|
||||
cb: () => {},
|
||||
...btnStyle,
|
||||
col: colour.on,
|
||||
btnBorder: colour.on,
|
||||
},
|
||||
{
|
||||
type: "btn",
|
||||
label: "Back",
|
||||
|
|
Loading…
Reference in New Issue