Skip to content

Commit

Permalink
android: Add FIXME comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thyttan committed Jun 26, 2023
1 parent 96ddd77 commit 5f7eb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/android/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@

"listRecs": function() { // GB({t:"listRecs", id:"20230616a"})
let recs = require("Storage").list(/^recorder\.log.*\.csv$/,{sf:true}).map(s => s.slice(12, 21));
recs = recs.slice(recs.indexOf(event.id));
recs = recs.slice(recs.indexOf(event.id)); // FIXME: Currently does not handle if the last fetched log was deleted on the watch, so that there won't be any entry corresponding to `event.id`
recs.shift();
Bluetooth.println("");
Bluetooth.println(JSON.stringify({t:"trksList", list: recs})); // TODO: split up in multiple transmissions?
Expand Down

0 comments on commit 5f7eb7c

Please sign in to comment.