|
|
|
@ -82,19 +82,28 @@ var routes = [
|
|
|
|
|
settings: [
|
|
|
|
|
{
|
|
|
|
|
setting: "alertsound",
|
|
|
|
|
title: "Alert Sound",
|
|
|
|
|
title: "Alert sound",
|
|
|
|
|
text: "Select which sound to play when a package is nearby.",
|
|
|
|
|
onclick: "pickAlertSound()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "alertvolume",
|
|
|
|
|
title: "Alert Volume",
|
|
|
|
|
title: "Alert volume",
|
|
|
|
|
min: 0,
|
|
|
|
|
max: 100,
|
|
|
|
|
step: 5,
|
|
|
|
|
step: 1,
|
|
|
|
|
value: localStorage.getItem("alertvolume"),
|
|
|
|
|
slider: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "alertinterval",
|
|
|
|
|
title: "Alert interval (seconds)",
|
|
|
|
|
min: 15,
|
|
|
|
|
max: 120,
|
|
|
|
|
step: 15,
|
|
|
|
|
value: localStorage.getItem("alertinterval") == null ? 30 : localStorage.getItem("alertinterval"),
|
|
|
|
|
slider: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "wakelock",
|
|
|
|
|
title: "Keep screen on",
|
|
|
|
@ -113,7 +122,7 @@ var routes = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "units",
|
|
|
|
|
title: "Distance Units",
|
|
|
|
|
title: "Measurement units",
|
|
|
|
|
text: "Use feet and miles for showing distance",
|
|
|
|
|
toggle: true,
|
|
|
|
|
checked: localStorage.getItem("units") == "imperial",
|
|
|
|
@ -121,8 +130,8 @@ var routes = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "mapsource",
|
|
|
|
|
title: "Map",
|
|
|
|
|
text: "Choose which map to use.",
|
|
|
|
|
title: "Map style",
|
|
|
|
|
text: "Choose which map style to use.",
|
|
|
|
|
onclick: "pickMapSource()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -133,13 +142,13 @@ var routes = [
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "opensource",
|
|
|
|
|
title: "Credits and Open Source",
|
|
|
|
|
title: "Credits and open source info",
|
|
|
|
|
text: "",
|
|
|
|
|
onclick: "router.navigate('/credits')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "privacy",
|
|
|
|
|
title: "Privacy Policy and Terms",
|
|
|
|
|
title: "Privacy policy and legal",
|
|
|
|
|
text: "",
|
|
|
|
|
onclick: "openBrowser('https://netsyms.com/legal?pk_campaign=PackageHelpterApp')"
|
|
|
|
|
}]
|
|
|
|
|