mylocation: Fix selecting Frankfurt not saved
Corrected check for selected location = "???".master
parent
3c28c0c9c9
commit
d2f2d712a2
|
|
@ -1,3 +1,4 @@
|
|||
0.01: First release
|
||||
0.02: Enhanced icon, make it bolder
|
||||
0.03: Fixed issue with defaulting back to London
|
||||
0.04: Fixed issue selecting Frankfurt not saved
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"icon": "mylocation.png",
|
||||
"type": "app",
|
||||
"screenshots": [{"url":"screenshot_1.png"}],
|
||||
"version":"0.03",
|
||||
"version":"0.04",
|
||||
"description": "Sets and stores the lat and long of your preferred City or it can be set from the GPS. mylocation.json can be used by other apps that need your main location lat and lon. See README",
|
||||
"readme": "README.md",
|
||||
"tags": "tool,utility",
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ function showMainMenu() {
|
|||
min: 0, max: locations.length - 1,
|
||||
format: v => locations[v],
|
||||
onchange: v => {
|
||||
if (v != 6) {
|
||||
if (locations[v] !== "???") {
|
||||
s.location = locations[v];
|
||||
s.lat = lats[v];
|
||||
s.lon = lons[v];
|
||||
|
|
|
|||
Loading…
Reference in New Issue