mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Bangle.js:actTrk: add first timestamp to gpx name
This commit is contained in:
parent
cd2535f49a
commit
2803c62a7c
@ -593,7 +593,7 @@ class BangleJSActivityTrack {
|
||||
break;
|
||||
}
|
||||
|
||||
String fileName = FileUtils.makeValidFileName("gadgetbridge-" + trackType.toLowerCase() + "-" + summary.getName() + ".gpx");
|
||||
String fileName = FileUtils.makeValidFileName("gadgetbridge-" + trackType.toLowerCase() + "-" + summary.getName() + "-" + storedLogObject.getJSONArray("Time").getString(0) + ".gpx");
|
||||
File targetFile = new File(FileUtils.getExternalFilesDir(), fileName);
|
||||
|
||||
if (hasGPXReading /*|| hasHRMReading*/) {
|
||||
|
Loading…
Reference in New Issue
Block a user