mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-03 17:02:13 +01:00
Bangle.js:actTrk: note on postponing parsing
This commit is contained in:
parent
ddca4ad90d
commit
d8172295cb
@ -221,7 +221,7 @@ class BangleJSActivityTrack extends BangleJSDeviceSupport {
|
||||
|
||||
if (!json.has("lines")) { // if no lines were sent with this json object, it signifies that the whole recorder log has been transmitted.
|
||||
setLatestFetchedRecorderLog(dir, log);
|
||||
parseFetchedRecorderCSV(dir, filename, log, device, context);
|
||||
parseFetchedRecorderCSV(dir, filename, log, device, context); // TODO: Parsing could be done after we fetched all recorder logs instead, making the fetching quicker and maybe less prone to user errors.
|
||||
if (tracksList.length()==0) {
|
||||
signalFetchingEnded(device, context);
|
||||
int resetPacketCount = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user