Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
iOS application
Commits
746c14df
Commit
746c14df
authored
4 years ago
by
Toby Brennan
Browse files
Options
Download
Email Patches
Plain Diff
Unlink old location if updating
parent
272d919e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
memri/gui/renderers/MapRenderer/MapHelper.swift
+2
-0
memri/gui/renderers/MapRenderer/MapHelper.swift
with
2 additions
and
0 deletions
+2
-0
memri/gui/renderers/MapRenderer/MapHelper.swift
+
2
-
0
View file @
746c14df
...
...
@@ -93,6 +93,8 @@ class MapHelper {
"longitude"
:
location
.
coordinate
.
longitude
])
address
.
locationWasAutomaticLookupWithHash
=
String
(
lookupHash
)
try
address
.
location
.
map
{
try
address
.
unlink
(
$0
)
}
_
=
try
address
.
link
(
newLocation
,
type
:
"location"
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets