Fix swapped url/desc args in GPX export and add ContactLocalization unit tests

This commit is contained in:
Serge Tarkovski
2026-04-25 01:32:43 +03:00
parent f8d00caae0
commit 92d3009eb4
2 changed files with 108 additions and 3 deletions
+3 -3
View File
@@ -72,8 +72,8 @@ class GpxExport {
contact.name,
contact.latitude!,
contact.longitude!,
"Type: ${contact.typeLabelRaw}\nPublic Key: ${contact.publicKeyHex}",
url,
"Type: ${contact.typeLabelRaw}\nPublic Key: ${contact.publicKeyHex}",
);
}
}
@@ -91,8 +91,8 @@ class GpxExport {
contact.name,
contact.latitude!,
contact.longitude!,
"Type: ${contact.typeLabelRaw}\nPublic Key: ${contact.publicKeyHex}",
url,
"Type: ${contact.typeLabelRaw}\nPublic Key: ${contact.publicKeyHex}",
);
}
}
@@ -110,8 +110,8 @@ class GpxExport {
contact.name,
contact.latitude ?? 0.0,
contact.longitude ?? 0.0,
"Type: ${contact.typeLabelRaw}\nPublic Key: ${contact.publicKeyHex}",
url,
"Type: ${contact.typeLabelRaw}\nPublic Key: ${contact.publicKeyHex}",
);
}
}